public class BayesVariable<T> extends Object
Constructor and Description |
---|
BayesVariable(String name,
int id,
T[] outcomes,
double[][] probabilities) |
BayesVariable(String name,
int id,
T[] outcomes,
double[][] probabilities,
String[] given) |
Modifier and Type | Method and Description |
---|---|
BayesVariableState |
createState() |
int |
getFamily() |
String[] |
getGiven() |
int |
getId() |
String |
getName() |
T[] |
getOutcomes() |
double[][] |
getProbabilityTable() |
void |
setFamily(int familyIndex) |
String |
toString() |
public String getName()
public int getId()
public double[][] getProbabilityTable()
public T[] getOutcomes()
public String[] getGiven()
public int getFamily()
public void setFamily(int familyIndex)
public BayesVariableState createState()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.