MACS
Class InfoValueEstimator
java.lang.Object
|
+--MACS.InfoValueEstimator
- final class InfoValueEstimator
- extends java.lang.Object
The InfoValueEstimator class is in charge of returning
the estimated immediate information value in the current
situation from the informations provided by the Integrator.
- Author:
- Olivier Sigaud and Pierre Gérard.
Method Summary |
protected void |
fillImmediateInfoValue(java.util.Vector[] possib)
|
double |
getImmediateInfoGains(int index)
|
private void |
maximizeImmediateInfoGain(java.util.Vector actions)
This method computes the ImmediateInfoGain for each possible anticipated
situation, given that for the same action different values can be estimated:
for each situation and for a given action,
it takes the max of the values computed for each situation resulting from this action
for each (S0,a,S1) triple
for all those whose action is a
their ImmediateInfoGain is the max ImmediateInfoGain of the group |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
public static boolean DEBUG
immediateInfoGains
private double[] immediateInfoGains
modelOfTransitions
protected MACS.ClassifierSystem modelOfTransitions
InfoValueEstimator
public InfoValueEstimator(MACS.ClassifierSystem c)
fillImmediateInfoValue
protected final void fillImmediateInfoValue(java.util.Vector[] possib)
- Parameters:
possib
-
maximizeImmediateInfoGain
private void maximizeImmediateInfoGain(java.util.Vector actions)
- This method computes the ImmediateInfoGain for each possible anticipated
situation, given that for the same action different values can be estimated:
for each situation and for a given action,
it takes the max of the values computed for each situation resulting from this action
for each (S0,a,S1) triple
for all those whose action is a
their ImmediateInfoGain is the max ImmediateInfoGain of the group
getImmediateInfoGains
public double getImmediateInfoGains(int index)