Cbc  2.9.5
Public Types | Public Member Functions | List of all members
CbcNauty Class Reference

#include <CbcSymmetry.hpp>

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. More...
 
void getVstat (double *v, int nv)
 
bool isSparse () const
 
int errorStatus () const
 
void setWriteAutoms (const std::string &afilename)
 Methods to classify orbits. More...
 
void unsetWriteAutoms ()
 

Constructors and destructors

 CbcNauty (int n, const size_t *v, const int *d, const int *e)
 Normal constructor (if dense - NULLS) More...
 
 CbcNauty (const CbcNauty &)
 Copy constructor. More...
 
CbcNautyoperator= (const CbcNauty &rhs)
 Assignment operator. More...
 
 ~CbcNauty ()
 Destructor. More...
 

Detailed Description

Definition at line 173 of file CbcSymmetry.hpp.

Member Enumeration Documentation

Enumerator
FIX_AT_ZERO 
FIX_AT_ONE 
FREE 

Definition at line 177 of file CbcSymmetry.hpp.

Constructor & Destructor Documentation

CbcNauty::CbcNauty ( int  n,
const size_t *  v,
const int *  d,
const int *  e 
)

Normal constructor (if dense - NULLS)

CbcNauty::CbcNauty ( const CbcNauty )

Copy constructor.

CbcNauty::~CbcNauty ( )

Destructor.

Member Function Documentation

CbcNauty& CbcNauty::operator= ( const CbcNauty rhs)

Assignment operator.

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

Definition at line 202 of file CbcSymmetry.hpp.

void CbcNauty::insertRHS ( int  rhs,
int  cons 
)
inline

Definition at line 203 of file CbcSymmetry.hpp.

double CbcNauty::getGroupSize ( ) const
int CbcNauty::getN ( ) const
inline

Definition at line 209 of file CbcSymmetry.hpp.

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

Definition at line 218 of file CbcSymmetry.hpp.

int CbcNauty::errorStatus ( ) const
inline

Definition at line 220 of file CbcSymmetry.hpp.

void CbcNauty::setWriteAutoms ( const std::string &  afilename)

Methods to classify orbits.

Not horribly efficient, but gets the job done

void CbcNauty::unsetWriteAutoms ( )

The documentation for this class was generated from the following file: