public class SevenPointsSTS extends SteinerTripleSystem
Constructor and Description |
---|
SevenPointsSTS() |
Modifier and Type | Method and Description |
---|---|
int[] |
getRepresentation() |
boolean |
isSTS7()
As the blocks can be set externally it is not guaranteed that one gets a block
design.
|
void |
setRepresentation(int class_nr,
int nr)
For STS(7) there exist 30 inequivalent labelings.
|
void |
setTriple(int nr,
java.lang.String[] triple)
Sets one of the 7 triples of a STS(7).
|
asString, getNumberOfBlocks, getNumberOfPoints, getTriples, isEqual
public void setRepresentation(int class_nr, int nr) throws java.lang.Exception
class_nr
- 1 or 2. // TODO how to identify the 2 classes //nr
- Number of STS(7) within one of the classes. 'nr' is defined by the lexicographical
sorting order.java.lang.Exception
public boolean isSTS7() throws java.lang.Exception
java.lang.Exception
public void setTriple(int nr, java.lang.String[] triple) throws java.lang.Exception
nr
- Number of triple 1,...,7.triple
- Triple (numbering convention is "1", "2", ... "7".java.lang.Exception
public int[] getRepresentation() throws java.lang.Exception
sts
- Steiner triple system on 7 points.java.lang.Exception