#include <LinkedBraidStructure.h>
Public Member Functions | |
BraidNode (int num=0, bool tp=true, BraidNode *l=NULL, BraidNode *a=NULL, BraidNode *r=NULL, BraidNode *bl=NULL, BraidNode *b=NULL, BraidNode *br=NULL) | |
BraidNode (bool m=false) | |
Default constructor (creates a disconnected node - all pointers are NULL). | |
Static Public Member Functions | |
static bool | isHandle (vector< BraidNode * > &backNodes, int g) |
static void | removeHandle (vector< BraidNode * > &frontNodes, vector< BraidNode * > &backNodes, int g, list< int > &processedHandle) |
static void | removeNodeTerminalClosure (vector< BraidNode * > &frontNodes, vector< BraidNode * > &backNodes, int g, BraidNode *node, list< int > &removedClosure) |
static void | removeTerminalNode (vector< BraidNode * > &frontNodes, vector< BraidNode * > &backNodes, int g, BraidNode *node, list< int > &removedClosure) |
Public Attributes | |
BraidNode * | left |
BraidNode * | ahead |
BraidNode * | right |
BraidNode * | back_left |
BraidNode * | back |
BraidNode * | back_right |
bool | type |
crossing orientation (true=positive, false=negative) | |
BraidNode * | link |
int | weight |
int | theNumber |
BraidNode * | left |
pointer to the ahead-left node | |
BraidNode * | ahead |
pointer to the ahead node | |
BraidNode * | right |
pointer to the ahead-right node | |
BraidNode * | back_left |
pointer to the back-left node | |
BraidNode * | back |
pointer to the back node | |
BraidNode * | back_right |
pointer to the back-right node | |
bool | marked |
Auxiliary flag. Used in LinkedBraidStructure::getWord( ) to mark used crossings. |
Represented by the orientation (type) of the crossing and 6 pointers to other crossings
Definition at line 20 of file LinkedBraidStructure.h.
|
Definition at line 31 of file LinkedBraidStructure.h. |
|
Default constructor (creates a disconnected node - all pointers are NULL).
Definition at line 36 of file LinkedBraidStructure_old.h. |
|
|
|
|
|
|
|
|
|
pointer to the ahead node
if Definition at line 53 of file LinkedBraidStructure_old.h. |
|
Definition at line 46 of file LinkedBraidStructure.h. |
|
pointer to the back node
if Definition at line 78 of file LinkedBraidStructure_old.h. |
|
Definition at line 50 of file LinkedBraidStructure.h. |
|
pointer to the back-left node
if Definition at line 71 of file LinkedBraidStructure_old.h. |
|
Definition at line 49 of file LinkedBraidStructure.h. |
|
pointer to the back-right node
if Definition at line 87 of file LinkedBraidStructure_old.h. |
|
Definition at line 51 of file LinkedBraidStructure.h. |
|
pointer to the ahead-left node
if Definition at line 46 of file LinkedBraidStructure_old.h. |
|
Definition at line 45 of file LinkedBraidStructure.h. |
|
Definition at line 56 of file LinkedBraidStructure.h. |
|
Auxiliary flag. Used in LinkedBraidStructure::getWord( ) to mark used crossings.
Definition at line 108 of file LinkedBraidStructure_old.h. |
|
pointer to the ahead-right node
if Definition at line 62 of file LinkedBraidStructure_old.h. |
|
Definition at line 47 of file LinkedBraidStructure.h. |
|
Definition at line 62 of file LinkedBraidStructure.h. |
|
crossing orientation (true=positive, false=negative)
Definition at line 53 of file LinkedBraidStructure.h. |
|
Definition at line 59 of file LinkedBraidStructure.h. |