#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. | |
| 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. | |
Definition at line 173 of file CbcSymmetry.hpp.
| enum CbcNauty::VarStatus |
Definition at line 177 of file CbcSymmetry.hpp.
| 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.
| 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.
References vstat_.
| void CbcNauty::insertRHS | ( | int | rhs, | |
| int | cons | |||
| ) | [inline] |
Definition at line 203 of file CbcSymmetry.hpp.
References constr_rhs.
| double CbcNauty::getGroupSize | ( | ) | const |
| int CbcNauty::getN | ( | ) | const [inline] |
Definition at line 209 of file CbcSymmetry.hpp.
References n_.
| 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.
References GSparse_.
| int CbcNauty::errorStatus | ( | ) | const [inline] |
Definition at line 220 of file CbcSymmetry.hpp.
References stats_.
| void CbcNauty::setWriteAutoms | ( | const std::string & | afilename | ) |
Methods to classify orbits.
Not horribly efficient, but gets the job done
| void CbcNauty::unsetWriteAutoms | ( | ) |
graph* CbcNauty::G_ [private] |
Definition at line 238 of file CbcSymmetry.hpp.
sparsegraph* CbcNauty::GSparse_ [private] |
Definition at line 239 of file CbcSymmetry.hpp.
Referenced by isSparse().
int* CbcNauty::lab_ [private] |
Definition at line 240 of file CbcSymmetry.hpp.
int* CbcNauty::ptn_ [private] |
Definition at line 241 of file CbcSymmetry.hpp.
set* CbcNauty::active_ [private] |
Definition at line 242 of file CbcSymmetry.hpp.
int* CbcNauty::orbits_ [private] |
Definition at line 243 of file CbcSymmetry.hpp.
optionblk* CbcNauty::options_ [private] |
Definition at line 245 of file CbcSymmetry.hpp.
statsblk* CbcNauty::stats_ [private] |
Definition at line 246 of file CbcSymmetry.hpp.
Referenced by errorStatus().
setword* CbcNauty::workspace_ [private] |
Definition at line 251 of file CbcSymmetry.hpp.
int CbcNauty::worksize_ [private] |
Definition at line 252 of file CbcSymmetry.hpp.
int CbcNauty::m_ [private] |
Definition at line 253 of file CbcSymmetry.hpp.
int CbcNauty::n_ [private] |
Definition at line 254 of file CbcSymmetry.hpp.
Referenced by getN().
size_t CbcNauty::nel_ [private] |
Definition at line 255 of file CbcSymmetry.hpp.
graph* CbcNauty::canonG_ [private] |
Definition at line 256 of file CbcSymmetry.hpp.
bool CbcNauty::autoComputed_ [private] |
Definition at line 258 of file CbcSymmetry.hpp.
int* CbcNauty::vstat_ [private] |
Definition at line 260 of file CbcSymmetry.hpp.
Referenced by color_node().
std::multimap<int,int> CbcNauty::constr_rhs [private] |
Definition at line 265 of file CbcSymmetry.hpp.
Referenced by insertRHS().
std::multimap<int,int>::iterator CbcNauty::it [private] |
Definition at line 266 of file CbcSymmetry.hpp.
std::pair<std::multimap<int,int>::iterator, std::multimap<int,int>::iterator> CbcNauty::ret [private] |
Definition at line 269 of file CbcSymmetry.hpp.
FILE* CbcNauty::afp_ [private] |
Definition at line 272 of file CbcSymmetry.hpp.
1.6.1