Loading...
Searching...
No Matches
class_indexpartition.cpp
Go to the documentation of this file.
35/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
120 * meaning that the partition of the set of constraints is the same ignoring the concrete classindices, classnames, etc. */
generalization of ConsPartition and VarPartition
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
static assert(heur !=NULL)
#define NULL
Definition class_conspartition.cpp:44
Definition class_indexpartition.cpp:47
bool operator()(const std::pair< int, int > &left, const std::pair< int, int > &right)
Definition class_indexpartition.cpp:48