|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Valuation
This interface specifies a general valuation by its principal operations of labeling, marginalization & combination. Ensure that all axioms of a valuation algebra are respected when implementing this interface. Additionally, this interface provides a weight function in order to compute communication costs. Valuation objects are serializable such that they can be transmitted between network hosts.
Method Summary | |
---|---|
Valuation |
combine(Valuation val)
Combination of valuations. |
Valuation |
marginalize(Domain dom)
Marginalization of a valuation onto a given domain. |
int |
weight()
Weight function: |
Methods inherited from interface nenok.adapt.Labeled |
---|
label |
Method Detail |
---|
int weight()
Valuation combine(Valuation val)
val
- The second valuation involved in the combination.
this
and val
.Valuation marginalize(Domain dom) throws VAException
dom
- The domain onto this valuation is marginalized.
this
to dom
.
VAException
- Exception occuring when a marginalization is performed onto an illegal domain.
Throwing this exception is the recommended way to implement partial marginalization.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |