public class Context extends Object
Constructor and Description |
---|
Context(int[] outcomePattern,
double[] parameters)
Creates a new parameters object with the specified parameters associated with the specified
outcome pattern.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getOutcomes()
Returns the outcomes for which parameters exists for this context.
|
double[] |
getParameters()
Returns the parameters or expected values for the outcomes which occur with this context.
|
public Context(int[] outcomePattern, double[] parameters)
outcomePattern
- Array of outcomes for which parameters exists for this context.parameters
- Parameters for the outcomes specified.public int[] getOutcomes()
public double[] getParameters()
Copyright © 2015 The Apache Software Foundation. All rights reserved.