Loading...
Searching...
No Matches
class_indexpartition.h
Go to the documentation of this file.
35/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
62 std::vector<int> indicesToClasses; /**< index i is assigned to class indicesToClasses[i] (-1 if not assigned)*/
64 std::vector<std::string> classDescriptions; /**< information text describing class k is classDescriptions[k] */
65 std::vector<int> classDecompInfo; /**< decomposition information of class k is classDecompInfo[k] */
int getClassOfIndex(int index)
Definition class_indexpartition.cpp:219
GCG_EXPORT std::vector< int > reduceClasses(int maxNumberOfClasses)
Definition class_indexpartition.cpp:277
GCG_EXPORT const char * getClassName(int classindex)
Definition class_indexpartition.cpp:201
std::vector< int > getNIndicesOfClasses()
Definition class_indexpartition.cpp:253
GCG_EXPORT const char * getName()
Definition class_indexpartition.cpp:234
std::vector< int > & getIndicesToClasses()
Definition class_indexpartition.cpp:227
IndexPartition(GCG *gcgstruct, const char *name, int nClasses, int nIndices)
Definition class_indexpartition.cpp:54
GCG_EXPORT void setClassDescription(int classindex, const char *desc)
Definition class_indexpartition.cpp:366
void assignIndexToClass(int index, int classindex)
Definition class_indexpartition.cpp:111
int getClassDecompInfo(int classindex)
Definition class_indexpartition.cpp:185
GCG_EXPORT bool isDuplicateOf(IndexPartition *otherPartition)
Definition class_indexpartition.cpp:121
bool isIndexClassified(int index)
Definition class_indexpartition.cpp:269
GCG_EXPORT const char * getClassDescription(int classindex)
Definition class_indexpartition.cpp:193
GCG_EXPORT int removeEmptyClasses()
Definition class_indexpartition.cpp:314
int addClass(const char *name, const char *desc)
Definition class_indexpartition.cpp:93
const char * getClassNameOfIndex(int index)
Definition class_indexpartition.cpp:209
GCG_EXPORT void setClassName(int classindex, const char *name)
Definition class_indexpartition.cpp:374
std::vector< std::vector< int > > getAllSubsets(std::vector< int > &classindices)
Definition class_indexpartition.cpp:165
void setClassDecompInfo(int classindex, int decompInfo)
Definition class_indexpartition.cpp:358
GCG interface methods.
Definition class_conspartition.cpp:44