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) {
56 inline BipartiteGraph<Base>& getGraph() {
60 inline const BipartiteGraph<Base>& getGraph()
const {
size_t getStructuralIndex() const
bool isPreserveNames() const
void setPreserveNames(bool p)
bool isPreserveNames() const
DaeStructuralIndexReduction(ADFun< CG< Base >> &fun, const std::vector< DaeVarInfo > &varInfo, const std::vector< std::string > &eqName)
size_t getStructuralIndex() const
void setPreserveNames(bool p)