java.lang.Object
riso.distributions.TrivialPiMessageHelper
- All Implemented Interfaces:
- PiMessageHelper, java.io.Serializable
- public class TrivialPiMessageHelper
- extends java.lang.Object
- implements PiMessageHelper
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrivialPiMessageHelper
public TrivialPiMessageHelper()
description
public static riso.general.SeqTriple[] description()
- Returns a description of the sequences of distributions accepted
by this helper -- namely exactly one AbstractDistribution
followed by any number of Noninformative.
compute_pi_message
public Distribution compute_pi_message(Distribution pi,
Distribution[] lambda_messages)
throws java.lang.Exception
- In the case that there are no lambda messages to take into account,
i.e. lambda messages coming from children other than the one to which
we are sending the pi message, the pi message is simply pi.
- Specified by:
compute_pi_message in interface PiMessageHelper