and.Mapping
Class Architecture

java.lang.Object
  extended by and.Mapping.Architecture

public class Architecture
extends java.lang.Object

Class representing a set of clusters forming a network architecture


Constructor Summary
Architecture()
          Default constructor.
 
Method Summary
 void addCluster(Cluster c)
          Add a cluster in the architecture.
 java.util.ArrayList<Cluster> getArchi()
          Return the architecture in a clusters list form.
 int getNbClusters()
          Return the amount of clusters in the architecture.
 int getNbNodes()
          Return the amount of computing nodes in the architecture.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Architecture

public Architecture()
Default constructor.

Method Detail

addCluster

public void addCluster(Cluster c)
Add a cluster in the architecture.

Parameters:
c - Cluster to be add.

getNbNodes

public int getNbNodes()
Return the amount of computing nodes in the architecture.

Returns:
The amount of nodes

getNbClusters

public int getNbClusters()
Return the amount of clusters in the architecture.

Returns:
The amoutn of clusters

getArchi

public java.util.ArrayList<Cluster> getArchi()
Return the architecture in a clusters list form.

Returns:
A clusters list