src/core/scope.h File Reference

#include "array.h"
#include "net.h"

Classes

struct  scopeType< Tcom, Trea >

Functions

array< int8 > * scope (Net &net, array< int8 > &seed)
 Calculate scope (binary mask).
array< int32 > * scopeExp (Net &net, array< int8 > &seed)
 Calculate scope (with generation data).
template<typename Tcom , typename Trea >
scopeType< Tcom, Trea > * _scopeCR (Net &net, array< int8 > &seed, bool exp)
 internal routine which calculates the scope
scopeType< int32, int32 > * scopeCR (Net &net, array< int8 > &seed)

Function Documentation

template<typename Tcom , typename Trea >
scopeType<Tcom,Trea>* _scopeCR ( Net net,
array< int8 > &  seed,
bool  exp 
) [inline]

internal routine which calculates the scope

Parameters:
net the network object
seed an array containing the seed

internal usage. used both for scope and scopeExp

array<int8>* scope ( Net net,
array< int8 > &  seed 
)

Calculate scope (binary mask).

Parameters:
net the network object
seed an array<int8> containing the seed

calculates the scope of the seed in the given network. An array<int8> containing a value !=0 at each index whose compound is in the scope and 0 otherwise.

scopeType<int32,int32>* scopeCR ( Net net,
array< int8 > &  seed 
)
array<int32>* scopeExp ( Net net,
array< int8 > &  seed 
)

Calculate scope (with generation data).

Parameters:
net the network object
seed an array containing the seed

calculates the scope of the seed in the given network. An array<int8> containing a value !=0 at each index whose compound is in the scope and 0 otherwise. The actual non-zero value indicates the generation (iteration round) in which the compound was added. A generation of 1 indicates a seed compound.

Generated on Tue May 3 16:06:08 2011 for Scopes C++ Core by  doxygen 1.6.3