import java.applet.Applet; import java.awt.*; import java.awt.event.*; import java.applet.*; import java.awt.geom.*; import java.math.*; public class RenormDisplay { public RenormDisplay() {} /**This class displays the renormalization tiles used in the following results: 1. the fundamental orbit lemma (drawTri) 2. the fixed point Lemma (drawFixedPoint) 3. the reduction Lemma **/ public static void drawTotal(Graphics2D g,Manager M,Output OUT) { int[] d=new int[12]; int k1=M.C.CON_T.RENORM1.val; int k3=M.C.CON_T.RENORM3.val; int m=M.C.CON_T.SPECIAL.mode; if(m==1) drawTri(g,k1,M,OUT); if(m==2) drawFixedPoint(g,M,OUT); if(m==3) { drawReduction(g,M); //all the candidates drawReduction2(g,M); //band minimizers drawReduction3(g,M); //supermins } /**draws the supermins and their renorms*/ if(m==4) { drawReduction3(g,M); drawReduction4(g,M); } } public static void drawTri(Graphics2D g,int k,Manager M,Output OUT) { int lim=DataFundamentalRaw.limit(k); int[] per=DataFundamentalRaw.periodic(k); int k0=M.C.CON_T.RENORM1.val; int i0=M.C.CON_T.RENORM1X.val; for(int i=0;i