Macaulay2 » Documentation
Packages » WeierstrassSemigroups :: HowToStartCollecting
next | previous | forward | backward | up | index | toc

HowToStartCollecting -- How to start collecting

Description

We have installed two methods to start to collect smoothing families for a list LL of semigroups.

Collecting

In both cases we have two files 'doneLL' and 'doneData' which contains the cases already done. The first file 'doneLL' is a list of semigroups where we store all semigroups in our collecting process where we found a smoothing one-parameter family over QQ. The second file 'doneData' is a .dbm file containing a data base of rings and ideals. To get these data we use:

Communicating with the hard disk

X='doneLL'

Y='doneData.dbm'

openOutAppend X

X << ','

X<<close;

doneLL=getFromDisk X;#doneLL

Y=openDatabase Xdbm

#keys Y

keys Y

listOfIdeals=apply(doneLL,L->(R=value Y#(toString L|'ring'); I=value (Y#(toString L|ideal))));

close Y

Continue collecting

LL=toDoList 13

b=12;collectByBound(LL,b,'doneLL','dataData.dbm'

or with

collectWithVersalDeformations(LL,b,'doneLL','dataData.dbm'

one can continue the collecting. One can interrupt the collecting any time, and continue later without losing data.

Replacing quotes

In the above the simple quotes ' have to be replaced by the double quotes, which indicate the begin and end of a string

For the programmer

The object HowToStartCollecting is a symbol.


The source of this document is in /build/reproducible-path/macaulay2-1.26.06+ds/M2/Macaulay2/packages/WeierstrassSemigroups.m2:1427:0.