class BRAID |
---|
**** | const BRAIDmaxSLen:INT:=400; -- for knotXW |
WORD |
attr index:INT; |
---|
attr w:ARRAY{INT}; .. Included as w |
---|
attr index:INT; |
---|
attr w:ARRAY{INT}; .. Included as w |
---|
aget(i:INT):INT .. Included as aget |
---|
append(b:SAME) |
---|
append(b:SAME):SAME |
---|
append(s:INT) |
---|
append(s:INT):SAME |
---|
aset(i:INT, g:INT) .. Included as aset |
---|
cancel:SAME .. Included as cancel |
---|
check:BOOL |
---|
clone:SAME |
---|
create(i:INT):SAME |
---|
create(s:STR):SAME |
---|
**** | convert STR to BRAID. format: " 4 : 2 -1 3 -2 -3 2 1 endcode"
______index^___^^^^^^^^^^^^^^^^braid_word |
create:SAME |
---|
delete(pos:INT) .. Included as delete |
---|
delete(pos:INT):SAME .. Included as delete |
---|
div(b:SAME):SAME .. Included as div |
---|
div(s:INT):SAME .. Included as div |
---|
gstr(g:INT, b:INT):STR .. Included as gstr |
---|
**** | b: base for coverings |
gstr(g:INT,b:INT, s1,s2:STR):STR .. Included as gstr |
---|
**** | b: base for coverings s1(s2 resp.) is pre(post resp.) str for generator name "g". |
insert(pos:INT,b:SAME):SAME |
---|
insert(pos:INT, s:INT) |
---|
insert(pos:INT, s:INT):SAME |
---|
inverse:SAME |
---|
**** | inverse as group |
is_PureBraid:BOOL |
---|
length:INT .. Included as length |
---|
maxGen:INT .. Included as maxGen |
---|
**** | m= max index of generator |
maxIndexInWord:INT |
---|
**** | m= max index of generator +1. i.e. word \in B_m |
printD |
---|
**** | print for debug/check |
printWordLog .. Included as printWordLog |
---|
reverse:SAME |
---|
**** | reverse order of elements |
size:INT .. Included as size |
---|
str:STR |
---|
**** | convert BRAID to STR |
times(b:SAME):SAME .. Included as times |
---|
times(s:INT):SAME .. Included as times |
---|
trackString(s:INT):INT |
---|
append(b:SAME) .. Included as word_append |
---|
append(b:SAME):SAME .. Included as word_append |
---|
append(s:INT) .. Included as word_append |
---|
append(s:INT):SAME .. Included as word_append |
---|
check:BOOL .. Included as word_check |
---|
clone:SAME .. Included as word_clone |
---|
create(s:STR):SAME .. Included as word_create |
---|
**** | convert STR to WORD. format: "2 -1 3 -2 -3 2 1"
__________^^^^^^^^^^^^^^^^word |
create:SAME .. Included as word_create |
---|
insert(pos:INT,b:SAME):SAME .. Included as word_insert |
---|
insert(pos:INT, s:INT) .. Included as word_insert |
---|
insert(pos:INT, s:INT):SAME .. Included as word_insert |
---|
inverse:SAME .. Included as word_inverse |
---|
**** | inverse as group |
printD .. Included as word_printD |
---|
**** | print for debug/check |
reverse:SAME .. Included as word_reverse |
---|
**** | reverse order of elements |
str:STR .. Included as word_str |
---|
**** | convert WORD to STR as a sequence of number "\n" can be included. format: "1 2 3 -2 -1 -2 " |
wstr(s1,s2:STR):STR .. Included as wstr |
---|
**** | convert WORD to STR s1(s2 resp.) is pre(post resp.) str for generator name "g". |
wstr:STR .. Included as wstr |
---|
**** | convert WORD to STR in TeX like format as "x_{1} x_{2} x_{1}^{-1} x_{2}^{-1} " |