CbcNauty Class Reference
#include <CbcSymmetry.hpp>
List of all members.
Public Types |
enum | VarStatus { FIX_AT_ZERO,
FIX_AT_ONE,
FREE
} |
Public Member Functions |
void | addElement (int ix, int jx) |
void | clearPartitions () |
void | computeAuto () |
void | deleteElement (int ix, int jx) |
void | color_node (int ix, int color) |
void | insertRHS (int rhs, int cons) |
double | getGroupSize () const |
int | getN () const |
int | getNumGenerators () const |
int | getNumOrbits () const |
std::vector< std::vector< int > > * | getOrbits () const |
| Returns the orbits in a "convenient" form.
|
void | getVstat (double *v, int nv) |
bool | isSparse () const |
int | errorStatus () const |
void | setWriteAutoms (const std::string &afilename) |
| Methods to classify orbits.
|
void | unsetWriteAutoms () |
Private Attributes |
graph * | G_ |
sparsegraph * | GSparse_ |
int * | lab_ |
int * | ptn_ |
set * | active_ |
int * | orbits_ |
optionblk * | options_ |
statsblk * | stats_ |
setword * | workspace_ |
int | worksize_ |
int | m_ |
int | n_ |
size_t | nel_ |
graph * | canonG_ |
bool | autoComputed_ |
int * | vstat_ |
std::multimap< int, int > | constr_rhs |
std::multimap< int, int >::iterator | it |
std::pair< std::multimap< int,
int >::iterator, std::multimap
< int, int >::iterator > | ret |
FILE * | afp_ |
Constructors and destructors |
|
| CbcNauty () |
| Default constructor.
|
| CbcNauty (int n, const size_t *v, const int *d, const int *e) |
| Normal constructor (if dense - NULLS).
|
| CbcNauty (const CbcNauty &) |
| Copy constructor.
|
CbcNauty & | operator= (const CbcNauty &rhs) |
| Assignment operator.
|
| ~CbcNauty () |
| Destructor.
|
Detailed Description
Definition at line 173 of file CbcSymmetry.hpp.
Member Enumeration Documentation
Constructor & Destructor Documentation
CbcNauty::CbcNauty |
( |
|
) |
[private] |
CbcNauty::CbcNauty |
( |
int |
n, |
|
|
const size_t * |
v, |
|
|
const int * |
d, |
|
|
const int * |
e | |
|
) |
| | |
Normal constructor (if dense - NULLS).
Member Function Documentation
void CbcNauty::addElement |
( |
int |
ix, |
|
|
int |
jx | |
|
) |
| | |
void CbcNauty::clearPartitions |
( |
|
) |
|
void CbcNauty::computeAuto |
( |
|
) |
|
void CbcNauty::deleteElement |
( |
int |
ix, |
|
|
int |
jx | |
|
) |
| | |
void CbcNauty::color_node |
( |
int |
ix, |
|
|
int |
color | |
|
) |
| | [inline] |
void CbcNauty::insertRHS |
( |
int |
rhs, |
|
|
int |
cons | |
|
) |
| | [inline] |
double CbcNauty::getGroupSize |
( |
|
) |
const |
int CbcNauty::getN |
( |
|
) |
const [inline] |
int CbcNauty::getNumGenerators |
( |
|
) |
const |
int CbcNauty::getNumOrbits |
( |
|
) |
const |
std::vector<std::vector<int> >* CbcNauty::getOrbits |
( |
|
) |
const |
Returns the orbits in a "convenient" form.
void CbcNauty::getVstat |
( |
double * |
v, |
|
|
int |
nv | |
|
) |
| | |
bool CbcNauty::isSparse |
( |
|
) |
const [inline] |
int CbcNauty::errorStatus |
( |
|
) |
const [inline] |
void CbcNauty::setWriteAutoms |
( |
const std::string & |
afilename |
) |
|
Methods to classify orbits.
Not horribly efficient, but gets the job done
void CbcNauty::unsetWriteAutoms |
( |
|
) |
|
Member Data Documentation
std::pair<std::multimap<int,int>::iterator, std::multimap<int,int>::iterator> CbcNauty::ret [private] |
The documentation for this class was generated from the following file: