1 #ifndef CPPAD_CG_DAE_STRUCTURAL_INDEX_REDUCTION_INCLUDED 2 #define CPPAD_CG_DAE_STRUCTURAL_INDEX_REDUCTION_INCLUDED 18 #include <cppad/cg/dae_index_reduction/dae_index_reduction.hpp> 19 #include <cppad/cg/dae_index_reduction/bipartite_graph.hpp> 47 const std::vector<DaeVarInfo>& varInfo,
48 const std::vector<std::string>& eqName) :
50 graph_(fun, varInfo, eqName, *this) {
DaeStructuralIndexReduction(ADFun< CG< Base >> &fun, const std::vector< DaeVarInfo > &varInfo, const std::vector< std::string > &eqName)
void setPreserveNames(bool p)
bool isPreserveNames() const
void setPreserveNames(bool p)
size_t getStructuralIndex() const
size_t getStructuralIndex() const
bool isPreserveNames() const