public class Context extends Object
Modifier and Type | Field and Description |
---|---|
protected int[] |
outcomes
The outcomes which occur with this context.
|
protected double[] |
parameters
The real valued parameters or expected values for this context.
|
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.
|
protected double[] parameters
protected int[] outcomes
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 © 2017 The Apache Software Foundation. All rights reserved.