public class ExpectationObject extends BaseDistribution implements Expectation
Constructor and Description |
---|
ExpectationObject(Root root) |
Modifier and Type | Method and Description |
---|---|
long |
descriptionLength(Collection<Symbol> symbols) |
Fraction |
getFraction(Symbol symbol) |
TypedIterable<Symbol> |
getSymbols() |
String |
getTypeLabel() |
void |
log() |
void |
log(String label) |
String |
prefixEncode(Collection<Symbol> symbols) |
void |
retrieve() |
void |
setFractions(Map<Symbol,Fraction> fractions) |
getLabel, getNode, getPersistent, getVersion, set, setLabel, setNode, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getNode, getVersion, set, setNode
public ExpectationObject(Root root)
public void setFractions(Map<Symbol,Fraction> fractions)
setFractions
in interface Expectation
public TypedIterable<Symbol> getSymbols()
getSymbols
in interface Expectation
public void retrieve()
retrieve
in class BaseDistribution
public Fraction getFraction(Symbol symbol)
getFraction
in interface Expectation
public String prefixEncode(Collection<Symbol> symbols)
prefixEncode
in interface Expectation
public long descriptionLength(Collection<Symbol> symbols)
descriptionLength
in interface Expectation
public void log()
log
in interface Distribution
public void log(String label)
log
in interface Distribution
public String getTypeLabel()
Copyright © 2013. All Rights Reserved.