|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectreasoner.Role
public class Role
Field Summary | |
---|---|
private java.util.Map<java.lang.String,java.lang.Double> |
r
|
Constructor Summary | |
---|---|
Role()
construct an empty role |
|
Role(java.util.TreeMap<java.lang.String,java.lang.Double> r)
|
Method Summary | |
---|---|
Role |
add(java.lang.String s,
java.lang.Double d)
add a point to this role |
java.lang.Integer |
card(java.lang.Double a)
the cardinality of this role at an alfa level |
boolean |
containsKey(java.lang.Object key)
|
Role |
diff(FuzzySet f)
|
double |
get(java.lang.Object key)
|
java.util.Set<java.lang.String> |
getKeys()
|
java.util.TreeSet<java.lang.Double> |
getLambda()
get the set of value to this role |
Role |
intersection(Concept c)
|
Role |
intersection(FuzzySet f)
|
void |
print()
|
Role |
ratio(FuzzySet f)
|
Role |
sum(FuzzySet f)
|
java.util.TreeSet<java.lang.Double> |
totalLambda(Concept c)
get the total set of value to this role together with a concept |
java.util.TreeSet<java.lang.Double> |
totalLambda(Role c)
get the total set of value to this role together with a concept |
Role |
union(FuzzySet f)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Map<java.lang.String,java.lang.Double> r
Constructor Detail |
---|
public Role(java.util.TreeMap<java.lang.String,java.lang.Double> r)
r
- public Role()
Method Detail |
---|
public Role add(java.lang.String s, java.lang.Double d)
s
- the keyd
- the value
public java.lang.Integer card(java.lang.Double a)
card
in interface FuzzySet
a
- the alfa value
public java.util.TreeSet<java.lang.Double> totalLambda(Concept c)
c
-
public java.util.TreeSet<java.lang.Double> totalLambda(Role c)
c
-
public java.util.TreeSet<java.lang.Double> getLambda()
getLambda
in interface FuzzySet
public Role sum(FuzzySet f)
f
-
public Role diff(FuzzySet f)
f
-
public Role ratio(FuzzySet f)
f
-
public Role intersection(FuzzySet f)
f
-
public java.util.Set<java.lang.String> getKeys()
public boolean containsKey(java.lang.Object key)
public Role intersection(Concept c)
c
- the concept
public double get(java.lang.Object key)
public Role union(FuzzySet f)
f
-
public void print()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |