How to get <PARAMETER> info from CryptoContext

So my inital question is how to get Multiplicative depth info from cryptocontext?

This question is similar to this one, but I can’t use it to get multiplicative depth information. How can I get multiplicative depth information from CryptoContext?


In addition, as a user who is relatively new to this topic (and C++), I found it difficult to understand where the parameters are placed. Is there any guidance for this, or is there any intuition on what I should look if I want to check where a parameter is located?

For example, I need to use different ways to get these parameters, and I found this with a lot of trial errors a while ago.

std::cout << "Get Ring Dimension: " << cc->GetRingDimension() << std::endl;
std::cout << "Get Plaintext modulus " << cc->GetCryptoParameters()->GetPlaintextModulus() << std::endl;
std::cout << " Get Batch size " << cc->GetCryptoParameters()->GetEncodingParams()->GetBatchSize() << std::endl;
std::cout << "Get Ciphertext modulus q = " << cc->GetCryptoParameters()->GetElementParams()->GetModulus() << std::endl;

Parameters are scattered across different modules within the codebase. There is no one place that includes all parameters. I am afraid you will need to search through the codebase if you want to modify it internally.

Multiplicative depth is an input parameter that is set by the developer. It can be considered a public parameter, even in server-client applications. I do not think there is a direct method to get the multiplicative depth from crypto-context.