|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfuzzydl.milp.ShowVariablesHelper
public class ShowVariablesHelper
Manages variables shown to the user.
| Constructor Summary | |
|---|---|
ShowVariablesHelper()
|
|
| Method Summary | |
|---|---|
void |
addAbstractFillerToShow(java.lang.String roleName,
java.util.HashSet<java.lang.String> hs)
Shows the membership degree to some atomic concepts of the fillers of an abstract role. |
void |
addAbstractFillerToShow(java.lang.String roleName,
Individual i,
java.util.HashSet<java.lang.String> hs)
Shows the membership degree to some atomic concepts of the fillers of an abstract role for some individual. |
void |
addConceptToShow(java.lang.String concName)
Show membership degree of every instance of an atomic concept. |
void |
addConcreteFillerToShow(java.lang.String fName)
Shows the value of the fillers of a concrete feature. |
void |
addConcreteFillerToShow(java.lang.String fName,
Individual i)
Shows the value of the fillers of a concrete feature for an individual. |
void |
addConcreteFillerToShow(java.lang.String fName,
Individual i,
java.util.ArrayList<FuzzyConcreteConcept> ar)
Shows the membership degree to some fuzzy concrete concepts (representing linguistic labels of the feature), for the fillers of a concrete feature of an individual. |
void |
addIndividualToShow(java.lang.String indName)
Shows the value of an individual to every atomic concept. |
void |
addVariable(Variable var,
java.lang.String nameToShow)
Add a variable to shown, showing it with a given name. |
ShowVariablesHelper |
clone()
|
boolean |
getAbstractFillerContains(java.lang.String roleName,
java.lang.String indName)
Returns whether a given individuals is marked for showing every filler of an abstract role. |
boolean |
getConceptContains(java.lang.String conceptName)
Returns whether an atomic concept is marked to show the membership degree of every individual. |
java.util.HashSet<java.lang.String> |
getConceptsFor(java.lang.String roleName)
Given an abstract role, gets the set of atomic concepts marked to show the membership degree of every filler of the role. |
boolean |
getConcreteFillerContains(java.lang.String fName,
java.lang.String indName)
Returns whether a given individuals is marked for showing every filler of a concrete feature. |
boolean |
getIndividualContains(java.lang.String indName)
Gets whether an individual is marked to be shown or not. |
java.util.ArrayList<FuzzyConcreteConcept> |
getLabels(java.lang.String varName)
Gets the fuzzy concrete concepts marked to be shown for a variable. |
java.lang.String |
getName(Variable var)
Gets the name of a variable. |
java.util.Collection<Variable> |
getVariables()
Gets the variables to be shown. |
boolean |
showVariable(Variable var)
Shows the value of a variable. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShowVariablesHelper()
| Method Detail |
|---|
public ShowVariablesHelper clone()
clone in class java.lang.Objectpublic java.lang.String getName(Variable var)
var - Variable.
public boolean showVariable(Variable var)
var - Variable.
public void addIndividualToShow(java.lang.String indName)
indName - Name of the individual.public boolean getIndividualContains(java.lang.String indName)
indName - Name of the individual.
public void addConcreteFillerToShow(java.lang.String fName)
fName - Name of the concrete feature.
public void addConcreteFillerToShow(java.lang.String fName,
Individual i)
fName - Name of the concrete feature.i - Individual.
public void addConcreteFillerToShow(java.lang.String fName,
Individual i,
java.util.ArrayList<FuzzyConcreteConcept> ar)
fName - Name of the concrete feature.i - Individual.ar - Array of fuzzy concrete concepts.public java.util.ArrayList<FuzzyConcreteConcept> getLabels(java.lang.String varName)
varName - Name of the variable, e.g. feature1(ind1).
public void addAbstractFillerToShow(java.lang.String roleName,
java.util.HashSet<java.lang.String> hs)
roleName - Name of of an abstract role.hs - Atomic concepts to be shown.
public void addAbstractFillerToShow(java.lang.String roleName,
Individual i,
java.util.HashSet<java.lang.String> hs)
roleName - Name of of an abstract role.i - Individual.hs - Atomic concepts to be shown.
public boolean getConcreteFillerContains(java.lang.String fName,
java.lang.String indName)
fName - Name of the concrete feature.indName - Name of the individual.
public boolean getAbstractFillerContains(java.lang.String roleName,
java.lang.String indName)
roleName - Name of the abstract role.indName - Name of the individual.
public void addConceptToShow(java.lang.String concName)
concName - Name of atomic concept.public boolean getConceptContains(java.lang.String conceptName)
conceptName - Name of atomic concept.
public void addVariable(Variable var,
java.lang.String nameToShow)
var - Variable.nameToShow - Name of the variable when shown.public java.util.HashSet<java.lang.String> getConceptsFor(java.lang.String roleName)
roleName - Name of an abstract role.
public java.util.Collection<Variable> getVariables()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||