|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfuzzydl.Relation
public class Relation
Represents a role assertion of the form (object individual, role, lower bound for the degree) with respect to a subject individual.
| Constructor Summary | |
|---|---|
Relation(java.lang.String roleName,
Individual ind1,
Individual ind2,
Degree degree)
|
|
| Method Summary | |
|---|---|
Relation |
clone(java.lang.String role,
Degree degree)
Gets a relation (role, lower bound for the degree) for the subject individual. |
Degree |
getDegree()
Returns the lower bound for the degree. |
java.lang.String |
getName()
|
Individual |
getObjectIndividual()
Gets the object individual. |
java.lang.String |
getRoleName()
Gets the role name. |
Individual |
getSubjectIndividual()
Gets the subject individual. |
void |
setObjectIndividual(Individual ind)
Sets the object individual. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Relation(java.lang.String roleName,
Individual ind1,
Individual ind2,
Degree degree)
| Method Detail |
|---|
public Individual getSubjectIndividual()
public Individual getObjectIndividual()
public void setObjectIndividual(Individual ind)
ind - Object individual.public java.lang.String getRoleName()
public Degree getDegree()
public java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.Object
public Relation clone(java.lang.String role,
Degree degree)
role - An abstract role.degree - A lower bound for the degree.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||