Cbc  2.9.8
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 176 of file CbcSymmetry.hpp.

Member Enumeration Documentation

◆ VarStatus

Enumerator
FIX_AT_ZERO 
FIX_AT_ONE 
FREE 

Definition at line 180 of file CbcSymmetry.hpp.

Constructor & Destructor Documentation

◆ CbcNauty() [1/2]

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

Normal constructor (if dense - NULLS)

◆ CbcNauty() [2/2]

CbcNauty::CbcNauty ( const CbcNauty )

Copy constructor.

◆ ~CbcNauty()

CbcNauty::~CbcNauty ( )

Destructor.

Member Function Documentation

◆ operator=()

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

Assignment operator.

◆ addElement()

void CbcNauty::addElement ( int  ix,
int  jx 
)

◆ clearPartitions()

void CbcNauty::clearPartitions ( )

◆ computeAuto()

void CbcNauty::computeAuto ( )

◆ deleteElement()

void CbcNauty::deleteElement ( int  ix,
int  jx 
)

◆ color_node()

void CbcNauty::color_node ( int  ix,
int  color 
)
inline

Definition at line 205 of file CbcSymmetry.hpp.

◆ insertRHS()

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

Definition at line 206 of file CbcSymmetry.hpp.

◆ getGroupSize()

double CbcNauty::getGroupSize ( ) const

◆ getN()

int CbcNauty::getN ( ) const
inline

Definition at line 212 of file CbcSymmetry.hpp.

◆ getNumGenerators()

int CbcNauty::getNumGenerators ( ) const

◆ getNumOrbits()

int CbcNauty::getNumOrbits ( ) const

◆ getOrbits()

std::vector<std::vector<int> >* CbcNauty::getOrbits ( ) const

Returns the orbits in a "convenient" form.

◆ getVstat()

void CbcNauty::getVstat ( double *  v,
int  nv 
)

◆ isSparse()

bool CbcNauty::isSparse ( ) const
inline

Definition at line 221 of file CbcSymmetry.hpp.

◆ errorStatus()

int CbcNauty::errorStatus ( ) const
inline

Definition at line 223 of file CbcSymmetry.hpp.

◆ setWriteAutoms()

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

Methods to classify orbits.

Not horribly efficient, but gets the job done

◆ unsetWriteAutoms()

void CbcNauty::unsetWriteAutoms ( )

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