import java.applet.Applet; import java.awt.*; import java.awt.event.*; import java.applet.*; import java.awt.geom.*; import java.math.*; /**This routine does some sanity checks for the compactification theorem in the paper.*/ public class SanityCheck2 implements Runnable { Manager M; int halt; int LIMIT,RANGE; public SanityCheck2(Manager MM) { this.M=MM; } public void run() { LIMIT=M.C.CON_C.getPointNumber(); RANGE=M.C.CON_C.getPointRange(); halt=1; int mode=M.C.CON_C.PEX.mode; if(mode==0) check0(); if(mode==1) check1(); if(mode==2) check2(); if(mode==3) check3(); } /**This checks that the goldenvector version of the torus map agrees with the original one, up to elements of (2Z)^3**/ public void check0() { System.out.println("start "+LIMIT+" "+RANGE); for(int i=0;i