public class AllenPeriodTableRepresentation extends TableRepresentation
{
	AllenPeriodTableRepresentation(int n)
	{
		size = n;
		cell = new AllenPeriodRelation[size][size];
		label = new String[size];
		try
		{
			for (int i = 0; i < size; i++)
			{
				for (int j = 0; j < size; j++)
					cell[i][j] = new AllenPeriodRelation(
						(i == j ? 0 : AllenPeriodRelation.ANY));
				label[i] = makeLabel(i);
			}
		}
		catch (FormatException e)
		{
			throw new RuntimeException("Unexpected FormatException: " +
				PointRelation.ANY);
		}
	}
}
