|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnenok.va.Identity
public final class Identity
This implementation of the valuation interface represents an identity element in a
valuation algebra. It has been shown that all valuation algebras can artificially be
extended to have such an identity element.
Node, that identity elements are not weight predictable - they can be embedded in a
weight predictable valuation algebra and inherit the weight predictor of the corresponding
implementation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface nenok.va.Scalability |
---|
Scalability.Implementor |
Nested classes/interfaces inherited from interface nenok.va.Idempotency |
---|
Idempotency.Implementor |
Field Summary | |
---|---|
static Identity |
INSTANCE
Unique instance of an identity element. |
Method Summary | |
---|---|
Valuation |
combine(Valuation val)
Combination of valuations. |
String |
displayText()
|
boolean |
equals(Object o)
|
Regularity |
inverse()
Returns an inverse element for the current valuation. |
Domain |
label()
Labeling of a valuation. |
Valuation |
marginalize(Domain dom)
The marginalization to the empty set is the only possible marginalization for identity elements. |
Scalability |
scale()
Scales the current valuation. |
String |
toString()
|
int |
weight()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Identity INSTANCE
Method Detail |
---|
public Domain label()
Valuation
label
in interface Valuation
Valuation.label()
public Valuation combine(Valuation val)
Valuation
combine
in interface Valuation
val
- The second valuation involved in the combination.
this
and val
.Valuation.combine(nenok.va.Valuation)
public Valuation marginalize(Domain dom) throws VAException
marginalize
in interface Valuation
dom
- The domain onto this valuation is marginalized.
this
to dom
.
VAException
- Exception occuring when a marginalization is performed onto an illegal domain.Valuation.marginalize(nenok.va.Domain)
public int weight()
weight
in interface Valuation
Valuation.weight()
public String displayText()
public String toString()
toString
in class Object
Object.toString()
public boolean equals(Object o)
equals
in class Object
Object.equals(java.lang.Object)
public Scalability scale()
Scalability
scale
in interface Scalability
Scalability.scale()
public Regularity inverse()
Regularity
inverse
in interface Regularity
Regularity.inverse()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |