fcmodeler.jsomap
Class WGModel

java.lang.Object
  |
  +--jsomap.map.AbstractModel
        |
        +--fcmodeler.jsomap.WGModel
All Implemented Interfaces:
jsomap.map.Model

public final class WGModel
extends jsomap.map.AbstractModel

Version:
 
Author:
default

Constructor Summary
WGModel(WeightedGraph graph)
          Creates new WGModel
WGModel(WeightedGraph graph, jsomap.map.Node node)
           
 
Method Summary
 jsomap.data.Pattern getPattern()
          Returns the pattern for this model.
 WeightedGraph getWG()
           
 void setPattern(jsomap.data.Pattern pattern)
          Sets this model's pattern to the specified pattern.
 void setWG(WeightedGraph graph)
           
 
Methods inherited from class jsomap.map.AbstractModel
getNode, setNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WGModel

public WGModel(WeightedGraph graph)
Creates new WGModel

WGModel

public WGModel(WeightedGraph graph,
               jsomap.map.Node node)
Method Detail

getPattern

public jsomap.data.Pattern getPattern()
Returns the pattern for this model.
Overrides:
getPattern in class jsomap.map.AbstractModel
Returns:
the pattern for this model.

getWG

public WeightedGraph getWG()

setPattern

public void setPattern(jsomap.data.Pattern pattern)
Sets this model's pattern to the specified pattern.
Overrides:
setPattern in class jsomap.map.AbstractModel
Parameters:
pattern - the pattern.
Throws:
NullPointerException - if pattern is null.

setWG

public void setWG(WeightedGraph graph)