29 #include <parametersettable.h>
229 void addCluster(
Cluster* c,
bool isInput =
false,
bool isOutput =
false );
233 addCluster( c,
true,
false );
238 addCluster( c,
false,
true );
241 bool removeCluster(
Cluster* c );
243 void markAsInput(
Cluster* c );
245 void markAsOutput(
Cluster* c );
252 bool isIsolated(
Cluster* c )
const;
254 ClusterList clusters()
const;
256 ClusterList inputClusters()
const;
258 ClusterList outputClusters()
const;
260 ClusterList hiddenClusters()
const;
262 void addLinker(
Linker* l );
264 bool removeLinker(
Linker* );
266 LinkerList linkers()
const;
268 LinkerList linkers(
Cluster* c,
bool out =
false )
const;
270 void setOrder(
Updatable* updatables[],
unsigned int dim );
272 void setOrder(
const UpdatableList& );
279 for(
unsigned int i=0; i<dimUps; i++ ) {
288 void randomize(
double min,
double max );
307 template<
class Po
interTo>
308 PointerTo
byName( QString aName, PointerTo& aPointer ) {
309 aPointer =
dynamic_cast<PointerTo
>( getByName(aName) );
320 bool find(
const Cluster* )
const;
323 bool find(
const Linker* )
const;
347 static void describe( QString type );
362 typedef QMap<QString, Cluster*> ClustersMap;
366 typedef QMap<Cluster*, LinkerList> LinkVecMap;
372 typedef QMap<QString, Linker*> LinkersMap;