Defines a crossing in a linked braid structure//. More...
#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 |
| 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 | type |
| crossing orientation (true=positive, false=negative) | |
| BraidNode * | link |
| int | weight |
| int | theNumber |
| bool | marked |
| Auxiliary flag. Used in LinkedBraidStructure::getWord( ) to mark used crossings. | |
Defines a crossing in a linked braid structure//.
Represented by the orientation (type) of the crossing and 6 pointers to other crossings
Definition at line 20 of file LinkedBraidStructure.h.
| BraidNode::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 | |||
| ) | [inline] |
Definition at line 31 of file LinkedBraidStructure.h.
| BraidNode::BraidNode | ( | bool | m = false |
) | [inline] |
Default constructor (creates a disconnected node - all pointers are NULL).
Definition at line 36 of file LinkedBraidStructure_old.h.
| static bool BraidNode::isHandle | ( | vector< BraidNode * > & | backNodes, | |
| int | g | |||
| ) | [static] |
| static void BraidNode::removeHandle | ( | vector< BraidNode * > & | frontNodes, | |
| vector< BraidNode * > & | backNodes, | |||
| int | g, | |||
| list< int > & | processedHandle | |||
| ) | [static] |
| static void BraidNode::removeNodeTerminalClosure | ( | vector< BraidNode * > & | frontNodes, | |
| vector< BraidNode * > & | backNodes, | |||
| int | g, | |||
| BraidNode * | node, | |||
| list< int > & | removedClosure | |||
| ) | [static] |
| static void BraidNode::removeTerminalNode | ( | vector< BraidNode * > & | frontNodes, | |
| vector< BraidNode * > & | backNodes, | |||
| int | g, | |||
| BraidNode * | node, | |||
| list< int > & | removedClosure | |||
| ) | [static] |
pointer to the ahead node
if
and the node corresponds to
then ahead points to the rightmost
in
.
Definition at line 46 of file LinkedBraidStructure.h.
pointer to the back node
if
and the node corresponds to
then ahead points to the leftmost
in
.
Definition at line 50 of file LinkedBraidStructure.h.
pointer to the back-left node
if
and the node corresponds to
then back_left points to the leftmost
in
. Except one case! If between
and
there is another
then back_left = NULL.
Definition at line 49 of file LinkedBraidStructure.h.
pointer to the back-right node
if
and the node corresponds to
then back_right points to the leftmost
in
. Except one case! If between
and
there is another
then back_right = NULL.
Definition at line 51 of file LinkedBraidStructure.h.
pointer to the ahead-left node
if
and the node corresponds to
then left points to the rightmost
in
. Except one case! If between
and
there is another
then left = NULL.
Definition at line 45 of file LinkedBraidStructure.h.
BraidNode* BraidNode::link [mutable] |
Definition at line 56 of file LinkedBraidStructure.h.
bool BraidNode::marked [mutable] |
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
and the node corresponds to
then right points to the rightmost
in
. Except one case! If between
and
there is another
then right = NULL.
Definition at line 47 of file LinkedBraidStructure.h.
Definition at line 62 of file LinkedBraidStructure.h.
| bool BraidNode::type |
crossing orientation (true=positive, false=negative)
Definition at line 53 of file LinkedBraidStructure.h.
int BraidNode::weight [mutable] |
Definition at line 59 of file LinkedBraidStructure.h.
1.6.1