viewer
Class NetworkProperties

java.lang.Object
  |
  +--viewer.NetworkProperties

public class NetworkProperties
extends java.lang.Object

Class containing the information about the network properties.


Field Summary
 int activeComputers
          Number of active computer in each layer
 float edgesThreshold
           
 float nodesThreshold
           
 int numberOfLayers
          Number of layers in the network.
 
Constructor Summary
NetworkProperties()
          Default constructor.
NetworkProperties(int nodes, int hops, float nodeTreshold, float edgeTreshold)
          Constructor
 
Method Summary
 boolean isValid()
          Function that check if the NetworkProperties are valid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

activeComputers

public int activeComputers
Number of active computer in each layer


numberOfLayers

public int numberOfLayers
Number of layers in the network.


nodesThreshold

public float nodesThreshold

edgesThreshold

public float edgesThreshold
Constructor Detail

NetworkProperties

public NetworkProperties(int nodes,
                         int hops,
                         float nodeTreshold,
                         float edgeTreshold)
Constructor

Parameters:
nodes -
hops -
nodeTreshold -
edgeTreshold -

NetworkProperties

public NetworkProperties()
Default constructor.

Method Detail

isValid

public boolean isValid()
Function that check if the NetworkProperties are valid.

Returns:
false is the networkProprties is not valid else return true.