public class EvaluateSamplingFromRules extends Object
Constructor and Description |
---|
EvaluateSamplingFromRules() |
Modifier and Type | Method and Description |
---|---|
static <Type> DoubleList |
computeTargetFunction(TreeAutomaton<Type> ta,
AdaptiveImportanceSampler.Configuration config)
Computes the expected value for all the different evaluation rounds in a single repetition.
|
static void |
main(String... args)
Load all configuration parameters from a configuration file and evaluates
the quality of predicting the uniform weighting on the automata.
|
static <Type> Pair<DoubleList,List<DoubleList>> |
makeInside(TreeAutomaton<Type> ta,
AdaptiveImportanceSampler.Configuration config,
int repetitions,
boolean printTracking)
Computes the expected value average over all repetitions and then a list
of expected values per round for each repetition.
|
public static void main(String... args) throws IOException
args
- IOException
public static <Type> DoubleList computeTargetFunction(TreeAutomaton<Type> ta, AdaptiveImportanceSampler.Configuration config)
Type
- ta
- config
- public static <Type> Pair<DoubleList,List<DoubleList>> makeInside(TreeAutomaton<Type> ta, AdaptiveImportanceSampler.Configuration config, int repetitions, boolean printTracking)
Type
- ta
- config
- repetitions
- printTracking
- Copyright © 2017. All rights reserved.