+ /**
+ * Setter for the amount of nodes to preserve on each cluster
+ * for the fault tolerance (should be 0 in an environment without fault).
+ * @param _nbSave The amount of nodes to preserve
+ */
+ public void setNbSave( int _nbSave )
+ {
+ if( _nbSave >= 0 )
+ {
+ nbSave = _nbSave ;
+ }
+ }
+
+
+ /**
+ * Getter to retrieving the amount of nodes preserved for fault tolerance.
+ * @return The amount of preserved nodes
+ */
+ public int getNbSave()
+ {
+ return nbSave ;
+ }
+
+
+ /**
+ * Setter for the minimum amount of nodes which should be present in
+ * a cluster to consider this latter in the mapping process.
+ * @param _minNode The minimum amount of nodes a cluster should have to be
+ * considered
+ */
+ public void setMinNode( int _minNode )
+ {
+ if( _minNode >= 0 )
+ {
+ minNode = _minNode ;
+ }
+ }
+
+
+ /**
+ * Getter to retrieve the minimum amount of nodes a cluster should have
+ * to be considered in the mapping process.
+ * @return The minimum amount of nodes a cluster should have to be
+ * considered
+ */
+ public int getMinNode()
+ {
+ return minNode ;
+ }
+
+