org.problets.lib.conceptmap.model.userbuilt
Class UserBuiltForestModel

java.lang.Object
  extended by org.problets.lib.conceptmap.model.ForestModel
      extended by org.problets.lib.conceptmap.model.userbuilt.UserBuiltForestModel

public class UserBuiltForestModel
extends ForestModel

Derived from ForestModel.

Author:
Adrian Maries

Constructor Summary
UserBuiltForestModel(java.lang.String path, java.lang.String fileName)
          Creates a UserBuiltForestModel object with the data passed in text file format.
UserBuiltForestModel(java.util.Vector stringVectors)
          Creates a UserBuiltForestModel object with the data passed in vector format.
 
Method Summary
 void addTreeModel(UserBuiltTreeModel treeModel)
          Adds the tree model passed as argument to the vector of tree models.
static void main(java.lang.String[] args)
           
 void removeTreeModel(UserBuiltTreeModel treeModel)
          Removes the tree model passed as argument from the vector of tree models.
 
Methods inherited from class org.problets.lib.conceptmap.model.ForestModel
getModelVector, getNumTreeModels, getTreeModel, print
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserBuiltForestModel

public UserBuiltForestModel(java.util.Vector stringVectors)
Creates a UserBuiltForestModel object with the data passed in vector format.

Parameters:
stringVectors - the vector with the data for the model

UserBuiltForestModel

public UserBuiltForestModel(java.lang.String path,
                            java.lang.String fileName)
Creates a UserBuiltForestModel object with the data passed in text file format.

Parameters:
FileName - the file from which the data for the model is extracted
Method Detail

removeTreeModel

public void removeTreeModel(UserBuiltTreeModel treeModel)
Removes the tree model passed as argument from the vector of tree models.

Parameters:
treeModel - the tree model to be removed from the vector of tree models

addTreeModel

public void addTreeModel(UserBuiltTreeModel treeModel)
Adds the tree model passed as argument to the vector of tree models.

Parameters:
treeModel - the tree model to be added to the vector of tree models

main

public static void main(java.lang.String[] args)