public class Universe
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<java.lang.String,Urelement> |
characteristic |
static java.lang.String |
LEXICAL |
protected java.lang.String |
name |
static java.lang.String |
SPATIAL |
protected StateSpace |
states |
protected int |
stringMax |
protected java.util.ArrayList<Urelement> |
universe |
Constructor and Description |
---|
Universe(java.lang.Object[] base) |
Universe(java.lang.Object[] base,
StateSpace states) |
Universe(java.lang.String[] occs,
java.lang.String[] basis) |
Universe(java.lang.String[] occs,
java.lang.String[][] basis) |
Universe(java.lang.String[] occs,
java.lang.String[] basis,
StateSpace states) |
Modifier and Type | Method and Description |
---|---|
void |
add(Universe alternate,
int state) |
void |
addSListener(SListener ear) |
java.lang.String |
basisAdd(java.util.ArrayList<Urelement> slice) |
boolean |
basisAdd(java.lang.String occurrence) |
boolean |
basisRemove(java.lang.String occurrence) |
java.util.ArrayList<Urelement> |
beginsWith(java.lang.String str) |
void |
classify(java.lang.String tab,
java.lang.String[] labels,
java.lang.String[] categories) |
void |
createLexical() |
void |
createSpatial() |
void |
fireDEvent(DEvent devent) |
void |
fireSEvent(SEvent sevent) |
int[] |
getIndices(int state) |
java.util.ArrayList<Urelement> |
getSlice() |
java.util.ArrayList<Urelement> |
getSlice(int state) |
java.lang.String[] |
getStrings() |
java.lang.String[] |
getStrings(int state) |
java.lang.Object[] |
getSubset(int state) |
Urelement |
getUrelement(int i) |
int |
getValency() |
boolean |
hasBasis() |
java.util.ArrayList<Urelement> |
intersect(java.lang.String[] candidates) |
boolean |
isDisabled(java.lang.String occurrence) |
void |
removeSListener(SListener ear) |
boolean |
setState(java.lang.String name,
int state) |
java.lang.String |
toString() |
java.lang.String |
toString(int state) |
public static final java.lang.String LEXICAL
public static final java.lang.String SPATIAL
protected int stringMax
protected java.util.ArrayList<Urelement> universe
protected java.util.HashMap<java.lang.String,Urelement> characteristic
protected StateSpace states
protected java.lang.String name
public Universe(java.lang.String[] occs, java.lang.String[] basis, StateSpace states)
public Universe(java.lang.String[] occs, java.lang.String[] basis)
public Universe(java.lang.String[] occs, java.lang.String[][] basis)
public Universe(java.lang.Object[] base, StateSpace states)
public Universe(java.lang.Object[] base)
public boolean hasBasis()
public boolean basisAdd(java.lang.String occurrence)
public boolean basisRemove(java.lang.String occurrence)
public boolean isDisabled(java.lang.String occurrence)
public java.lang.String basisAdd(java.util.ArrayList<Urelement> slice)
public java.util.ArrayList<Urelement> intersect(java.lang.String[] candidates)
public boolean setState(java.lang.String name, int state)
public void add(Universe alternate, int state)
public java.util.ArrayList<Urelement> beginsWith(java.lang.String str)
public int getValency()
public java.lang.Object[] getSubset(int state)
public java.util.ArrayList<Urelement> getSlice()
public java.util.ArrayList<Urelement> getSlice(int state)
public java.lang.String[] getStrings()
public java.lang.String[] getStrings(int state)
public int[] getIndices(int state)
public Urelement getUrelement(int i)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(int state)
public void createSpatial()
public void createLexical()
public void classify(java.lang.String tab, java.lang.String[] labels, java.lang.String[] categories)
public void addSListener(SListener ear)
public void removeSListener(SListener ear)
public void fireDEvent(DEvent devent)
public void fireSEvent(SEvent sevent)