il2.bridge
Class Converter
Object
Converter
public class Converter
- extends Object
Converter
public Converter()
- 012904
init
public void init(Collection variables)
- Initializes the fields without requiring a call to convert (). James
set this class up so that one would always call convert () before
using the class. convert () initializes the fields, performs some
conversions and returns. I wanted to initialize the fields without
performing any conversions and without needing to specify a belief
network and without affecting others' code. This method serves that
purpose.
- Parameters:
variables
- the inflib variables in topological order.- Since:
- 011704
getBeliefNetwork
public BeliefNetwork getBeliefNetwork()
- Since:
- 020904
getBayesianNetwork
public BayesianNetwork getBayesianNetwork()
- Since:
- 20060123
getIndex
public Map getIndex()
- Since:
- 112503
getDomain
public Domain getDomain()
- Since:
- 120103
convert
public BayesianNetwork convert(BeliefNetwork bn)
convertTables
public Table[] convertTables(BeliefNetwork bn,
QuantitativeDependencyHandler handler)
- Since:
- 061404
convert
public FiniteVariable convert(int var)
convert
public int convert(FiniteVariable fv)
convertDirected
public DirectedEdge[] convertDirected(int[][] edges)
- Since:
- 20091219
convertUndirected
public Edge[] convertUndirected(int[][] edges)
- Since:
- 20091219
convert
public Set convert(IntSet v)
convert
public List convert(IntList variablesToConvert)
- Since:
- 20060224
convert
public IntSet convert(Set vars)
convert
public IntList convert(List vars)
convertToList
public List convertToList(IntSet variablesToConvert)
- Since:
- 20060123
convert
public IntMap convert(Map map)
convert
public Map convert(IntMap map)
convert
public Table convert(Table t,
List varOrder)
convert
public Table convert(Table t)
convert
public Table[] convert(Table[] tables)
- Since:
- 061504
convert
public Table convert(Table t)
Copyright 2010 UCLA Automated Reasoning Group