|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Variable
Variable.java, This class contains the information needed for variables along with the methods to check if a given O/R can be added to a pre-existing varialbe.
Field Summary | |
protected boolean |
compressibility
Flag that tell the 3DVR unit if the variable can be simplified to a specific object or relation |
java.util.BitSet |
feature
Feature vector that represents the intersection of the features of the mapped objects/relations |
int |
group
group_id Number used in handle and generation |
java.util.LinkedList |
grouped_objects
linkedlist containing all the objects or relations mapped to this variable |
protected java.lang.String |
handle
Name of the variable |
java.lang.String |
type
tells if the variable descripes a set of O's or R's |
Constructor Summary | |
Variable(DATA info,
java.lang.String word,
java.lang.String lexeme,
java.lang.String type,
int variable_number,
int for_index)
Constructor, makes a new variable from the given string representation of a word |
|
Variable(java.util.Hashtable orhash,
java.lang.String word,
java.lang.String lexeme,
java.lang.String type,
int variable_number,
int for_index)
Constructor, makes a new variable from the given string representation of a word |
Method Summary | |
boolean |
add(DATA info,
java.lang.String word)
addition method that adds additional objects/relations to variable if there is an intersection in their ORVectors |
boolean |
add(java.util.Hashtable orhash,
java.lang.String word)
addition method that adds additional objects/relations to variable if there is an intersection in their ORVectors |
java.lang.Object |
clone()
Clone variable. |
boolean |
get_compressibility()
compressibility lookup method |
java.lang.String |
get_handle()
handle lookup method |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String handle
public java.lang.String type
public java.util.LinkedList grouped_objects
public java.util.BitSet feature
protected boolean compressibility
public int group
Constructor Detail |
public Variable(DATA info, java.lang.String word, java.lang.String lexeme, java.lang.String type, int variable_number, int for_index)
info
- The DATA node that contains a ORTable, and a LXTableword
- The first object/relationlexeme
- The lexeme that this variable refers totype
- If it is an O or a Rvariable_number
- A key used to specify what variable is being talked aboutfor_index
- A sub-key used for distingishing variables to the same EnumEntrypublic Variable(java.util.Hashtable orhash, java.lang.String word, java.lang.String lexeme, java.lang.String type, int variable_number, int for_index)
orhash
- The ORTableword
- The first object/relationlexeme
- The lexeme that this variable refers totype
- If it is an O or a Rvariable_number
- A key used to specify what variable is being talked aboutfor_index
- A sub-key used for distingishing variables to the same EnumEntryMethod Detail |
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String get_handle()
public boolean get_compressibility()
public boolean add(DATA info, java.lang.String word)
info
- the DATA node containing the ORTableword
- the object/relation to be added to the variablepublic boolean add(java.util.Hashtable orhash, java.lang.String word)
orhash
- the ORTableword
- the object/relation to be added to the variable
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |