class BRAID


Flattened version is here

Ancestors
WORD



Public


Readable Attributes
attr index:CARD;

Writable Attributes
attr index:CARD;

Features
append(b:SAME)
append(b:SAME):SAME
append(s:INT)
append(s:INT):SAME
check:BOOL
clone:SAME
create(ind:CARD):SAME
create(p:PERM):SAME
**** For permutation p, create standard braid w, s.t. w.perm=p.
create(s:STR):SAME
**** convert STR to BRAID. format: "4 : 2 -1 3 -2 -3 2 1 endcode"
_____index^___^^^^^^^^^^^^^^^^braid_word
create:SAME
crossingNumTbl:ARRAY{INT}
**** [g] is total_appearance for g-th generator. [0], [index] as guards.
insert(pos:CARD,b:SAME):SAME
insert(pos:CARD, s:INT)
insert(pos:CARD, s:INT):SAME
inverse:SAME
**** inverse as group
is_PureBraid:BOOL
lastPositionTbl:ARRAY{INT}
**** [g] is where g-th generator is appear at last. [0], [index] as guards.
perm:PERM
**** get permutation [1..index]
printD
**** print for debug/check
reach(s:CARD):CARD
**** where s-th string reach.
reverse:SAME
**** reverse order of elements
str:STR
**** convert BRAID to STR format: "4 : 2 -1 3 -2 -3 2 1 endcode"
_____index^___^^^^^^^^^^^^^^^^braid_word
trackString(s:CARD):ARRAY{CARD}
**** [i]: where s-th string arrives before w[i]. i.e. [i+1]: where s-th string arrives after w[i].
writheTbl:ARRAY{INT}
**** [g] is total_power for g-th generator. [0], [index] as guards.

The Sather Home Page