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 extracts the face list from a long polyhedron that is give in terms of vertices**/ public class Combinatorics { /**Produces a subset of {0,...,N-1} from the pair (N,n)**/ public static int[] binaryList(int N,int n) { int[] x=new int[N]; int m=n; for(int count=0;count