Cbc  2.10.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
CbcNauty Class Reference

#include <CbcSymmetry.hpp>

+ Collaboration diagram for CbcNauty:

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
 
optionblk * options () const
 Pointer to options. More...
 
void setWriteAutoms (const std::string &afilename)
 Methods to classify orbits. More...
 
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. More...
 
 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 178 of file CbcSymmetry.hpp.

Member Enumeration Documentation

Enumerator
FIX_AT_ZERO 
FIX_AT_ONE 
FREE 

Definition at line 181 of file CbcSymmetry.hpp.

Constructor & Destructor Documentation

CbcNauty::CbcNauty ( )
private

Default constructor.

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 209 of file CbcSymmetry.hpp.

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

Definition at line 210 of file CbcSymmetry.hpp.

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

Definition at line 216 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 225 of file CbcSymmetry.hpp.

int CbcNauty::errorStatus ( ) const
inline

Definition at line 229 of file CbcSymmetry.hpp.

optionblk* CbcNauty::options ( ) const
inline

Pointer to options.

Definition at line 240 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 ( )

Member Data Documentation

graph* CbcNauty::G_
private

Definition at line 259 of file CbcSymmetry.hpp.

sparsegraph* CbcNauty::GSparse_
private

Definition at line 260 of file CbcSymmetry.hpp.

int* CbcNauty::lab_
private

Definition at line 261 of file CbcSymmetry.hpp.

int* CbcNauty::ptn_
private

Definition at line 262 of file CbcSymmetry.hpp.

set* CbcNauty::active_
private

Definition at line 263 of file CbcSymmetry.hpp.

int* CbcNauty::orbits_
private

Definition at line 264 of file CbcSymmetry.hpp.

optionblk* CbcNauty::options_
private

Definition at line 266 of file CbcSymmetry.hpp.

statsblk* CbcNauty::stats_
private

Definition at line 267 of file CbcSymmetry.hpp.

setword* CbcNauty::workspace_
private

Definition at line 272 of file CbcSymmetry.hpp.

int CbcNauty::worksize_
private

Definition at line 273 of file CbcSymmetry.hpp.

int CbcNauty::m_
private

Definition at line 274 of file CbcSymmetry.hpp.

int CbcNauty::n_
private

Definition at line 275 of file CbcSymmetry.hpp.

size_t CbcNauty::nel_
private

Definition at line 276 of file CbcSymmetry.hpp.

graph* CbcNauty::canonG_
private

Definition at line 277 of file CbcSymmetry.hpp.

bool CbcNauty::autoComputed_
private

Definition at line 279 of file CbcSymmetry.hpp.

int* CbcNauty::vstat_
private

Definition at line 281 of file CbcSymmetry.hpp.

std::multimap< int, int > CbcNauty::constr_rhs
private

Definition at line 286 of file CbcSymmetry.hpp.

std::multimap< int, int >::iterator CbcNauty::it
private

Definition at line 287 of file CbcSymmetry.hpp.

std::pair< std::multimap< int, int >::iterator, std::multimap< int, int >::iterator > CbcNauty::ret
private

Definition at line 291 of file CbcSymmetry.hpp.

FILE* CbcNauty::afp_
private

Definition at line 294 of file CbcSymmetry.hpp.


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