|
Dip
0.92.4
|
#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 |
| 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... | |
| CbcNauty & | operator= (const CbcNauty &rhs) |
| Assignment operator. More... | |
| ~CbcNauty () | |
| Destructor. More... | |
Definition at line 178 of file CbcSymmetry.hpp.
| enum CbcNauty::VarStatus |
| Enumerator | |
|---|---|
| FIX_AT_ZERO | |
| FIX_AT_ONE | |
| FREE | |
Definition at line 181 of file CbcSymmetry.hpp.
|
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 | ||
| ) |
|
inline |
Definition at line 209 of file CbcSymmetry.hpp.
References vstat_.
|
inline |
Definition at line 210 of file CbcSymmetry.hpp.
References constr_rhs.
| double CbcNauty::getGroupSize | ( | ) | const |
|
inline |
Definition at line 216 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 | ||
| ) |
|
inline |
Definition at line 225 of file CbcSymmetry.hpp.
References GSparse_.
|
inline |
Definition at line 229 of file CbcSymmetry.hpp.
References stats_.
|
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 | ( | ) |
|
private |
Definition at line 259 of file CbcSymmetry.hpp.
|
private |
Definition at line 260 of file CbcSymmetry.hpp.
Referenced by isSparse().
|
private |
Definition at line 261 of file CbcSymmetry.hpp.
|
private |
Definition at line 262 of file CbcSymmetry.hpp.
|
private |
Definition at line 263 of file CbcSymmetry.hpp.
|
private |
Definition at line 264 of file CbcSymmetry.hpp.
|
private |
Definition at line 266 of file CbcSymmetry.hpp.
|
private |
Definition at line 267 of file CbcSymmetry.hpp.
Referenced by errorStatus().
|
private |
Definition at line 272 of file CbcSymmetry.hpp.
|
private |
Definition at line 273 of file CbcSymmetry.hpp.
|
private |
Definition at line 274 of file CbcSymmetry.hpp.
|
private |
Definition at line 275 of file CbcSymmetry.hpp.
Referenced by getN().
|
private |
Definition at line 276 of file CbcSymmetry.hpp.
|
private |
Definition at line 277 of file CbcSymmetry.hpp.
|
private |
Definition at line 279 of file CbcSymmetry.hpp.
|
private |
Definition at line 281 of file CbcSymmetry.hpp.
Referenced by color_node().
|
private |
Definition at line 286 of file CbcSymmetry.hpp.
Referenced by insertRHS().
|
private |
Definition at line 287 of file CbcSymmetry.hpp.
|
private |
Definition at line 291 of file CbcSymmetry.hpp.
|
private |
Definition at line 294 of file CbcSymmetry.hpp.
1.8.5