import java.applet.Applet; import java.awt.*; import java.awt.event.*; import java.applet.*; import java.awt.geom.*; import java.math.*; import java.io.*; /**This class computes the symbolic sequences for the bands and verifies that they are correct. It also verifies the claimed discrepancies between the corresponding A and B bands.**/ public class VerifyChains { /**These routines verify that the given itinerary works for an interior point of the polyhedron. We use these routines for the proof of the Far Reduction Theorem.**/ public static boolean verifyA(GoldenPolyhedron P,int[] I) { GoldenVector W=P.cheapInterior(); W=W.scale(new GoldenReal(2,0)); boolean test=VerifyTile.testFeasible(W,I); return(test); } public static boolean verifyB(GoldenPolyhedron P,int[] I,boolean iso) { GoldenVector W=P.cheapInterior(); W=W.scale(new GoldenReal(2,0)); boolean test=false; if(iso==true) test=VerifyTile.testFeasible(W,I); if(iso==false) test=VerifyTile.testFeasibleInverse(W,I); return(test); } /**This routine verifies that a given pair of numbers serves as lower and upper bounds for the range.**/ public static boolean verifyRange(int[] list,GoldenReal[] target,boolean choice,boolean iso) { GoldenReal A=new GoldenReal(-3,2); //phi^{-3} int[] t={0,0}; for(int i=0;itest) min=test; if(max