public class A2AlgebraRelation extends BitSetAlgebraRelation<A2BaseRelation>
Modifier and Type | Field and Description |
---|---|
protected static java.util.BitSet[][] |
compositionTable |
private static A2AlgebraRelation |
emptySet |
private static A2AlgebraRelation |
fullSet |
private static A2AlgebraRelation |
instance0 |
(package private) static org.slf4j.Logger |
logger |
protected static java.util.Vector<A2BaseRelation> |
positions |
protected static java.util.HashMap<java.lang.String,A2BaseRelation> |
relations |
protected static int |
size |
relset
index, prettyLabel, relation
Modifier | Constructor and Description |
---|---|
private |
A2AlgebraRelation()
Creation
|
private |
A2AlgebraRelation(java.util.BitSet rels)
This is private because it refers to the implementation as BitSet
|
|
A2AlgebraRelation(java.lang.String rels) |
compose, protocompose, protoinverse
entails, equals, equals, getPrettyLabel, getRelation, getRelations, hashCode, isEmpty, iterator, join, meet, protocompl, protojoin, protomeet, read, write
accept, accept, dump, getClassName, join, meet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isEmpty, join, meet
dump, equals, getRelation, write
static final org.slf4j.Logger logger
protected static java.util.HashMap<java.lang.String,A2BaseRelation> relations
protected static java.util.Vector<A2BaseRelation> positions
protected static int size
protected static java.util.BitSet[][] compositionTable
private static A2AlgebraRelation instance0
private static A2AlgebraRelation fullSet
private static A2AlgebraRelation emptySet
private A2AlgebraRelation()
public A2AlgebraRelation(java.lang.String rels) throws AlignmentException
AlignmentException
private A2AlgebraRelation(java.util.BitSet rels)
rels:
- the internal representation of the relationprotected static void init()
public static A2AlgebraRelation createRelation(java.lang.String rels) throws AlignmentException
AlignmentException
public static A2AlgebraRelation createRelation(A2BaseRelation... rels) throws AlignmentException
AlignmentException
protected java.util.BitSet createSet()
createSet
in class BitSetDisjunctiveRelation<A2BaseRelation>
protected static void protoinit()
protected static void initStructures(A2BaseRelation... idrels)
protected static void protofinalize()
public A2BaseRelation getRelation(java.lang.String rel)
public A2BaseRelation getRelation(int i)
getRelation
in class BitSetDisjunctiveRelation<A2BaseRelation>
public java.util.BitSet compose(A2BaseRelation s, A2BaseRelation t)
compose
in class BitSetAlgebraRelation<A2BaseRelation>
protected static void declareRelation(A2BaseRelation rel, A2BaseRelation inverse)
protected static void setComposition(A2BaseRelation a, A2BaseRelation b, A2BaseRelation c)
protected static void o(A2BaseRelation a, A2BaseRelation b, A2BaseRelation... s)
protected static void t(A2BaseRelation a, A2BaseRelation b, A2BaseRelation c)
public A2AlgebraRelation compose(A2AlgebraRelation dr)
public A2AlgebraRelation compose(Relation r)
BasicRelation
compose
in interface Relation
compose
in class BasicRelation
public A2AlgebraRelation inverse()
BasicRelation
inverse
in interface AlgebraRelation<A2BaseRelation>
inverse
in interface Relation
inverse
in class BitSetAlgebraRelation<A2BaseRelation>
public A2AlgebraRelation join(A2AlgebraRelation... drs)
public A2AlgebraRelation meet(A2AlgebraRelation... drs)
public static A2AlgebraRelation getInconsistentRelation() throws AlignmentException
AlignmentException
public static A2AlgebraRelation getNoInfoRelation() throws AlignmentException
AlignmentException
public static A2AlgebraRelation getIdRelation() throws AlignmentException
AlignmentException
public boolean isIdRelation()
(C) INRIA & friends, 2003-2020