com.cra.bnet.learn
Class DataSetUtil

java.lang.Object
  |
  +--com.cra.bnet.learn.DataSetUtil

public class DataSetUtil
extends Object

Utility class for data files used for learning.


Method Summary
static boolean isNetworkCompatible(BayesianNetwork network, File file)
          Whenever a data file is to be used with a BayesianNetwork, check to see if the data nodes exist in the network.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isNetworkCompatible

public static boolean isNetworkCompatible(BayesianNetwork network,
                                          File file)
Whenever a data file is to be used with a BayesianNetwork, check to see if the data nodes exist in the network.

Parameters:
network -
file - data file
Returns:
true if file is compatible with given network