29 #include <parametersettable.h>
247 void addCluster(
Cluster* c,
bool isInput =
false,
bool isOutput =
false );
251 addCluster( c,
true,
false );
256 addCluster( c,
false,
true );
259 bool removeCluster(
Cluster* c );
261 void markAsInput(
Cluster* c );
263 void markAsOutput(
Cluster* c );
270 bool isIsolated(
Cluster* c )
const;
272 ClusterList clusters()
const;
274 ClusterList inputClusters()
const;
276 ClusterList outputClusters()
const;
278 ClusterList hiddenClusters()
const;
280 void addLinker(
Linker* l );
282 bool removeLinker(
Linker* );
284 LinkerList linkers()
const;
286 LinkerList linkers(
Cluster* c,
bool out =
false )
const;
288 void setOrder(
Updatable* updatables[],
unsigned int dim );
290 void setOrder(
const UpdatableList& );
297 for(
unsigned int i=0; i<dimUps; i++ ) {
309 void randomize(
double min,
double max );
328 template<
class Po
interTo>
329 PointerTo
byName( QString aName, PointerTo& aPointer ) {
330 aPointer =
dynamic_cast<PointerTo
>( getByName(aName) );
341 bool find(
const Cluster* )
const;
344 bool find(
const Linker* )
const;
368 static void describe( QString type );
383 typedef QMap<QString, Cluster*> ClustersMap;
387 typedef QMap<Cluster*, LinkerList> LinkVecMap;
393 typedef QMap<QString, Linker*> LinkersMap;