#include "scope.h"
#include "array.h"
#include "net.h"
Functions | |
template<class T > | |
array< T > * | _scope (Net &net, array< int8 > &seed, bool exp) |
internal routine which calculates the scope | |
template<typename Tcom , typename Trea > | |
scopeType< Tcom, Trea > * | _scopeCR (Net &net, array< int8 > &seed, bool exp) |
internal routine which calculates the scope | |
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). | |
scopeType< int32, int32 > * | scopeCR (Net &net, array< int8 > &seed) |
internal routine which calculates the scope
net | the network object | |
seed | an array containing the seed |
internal usage. used both for scope and scopeExp
scopeType< Tcom, Trea > * _scopeCR | ( | Net & | net, | |
array< int8 > & | seed, | |||
bool | exp | |||
) | [inline] |
internal routine which calculates the scope
net | the network object | |
seed | an array containing the seed |
internal usage. used both for scope and scopeExp
Calculate scope (binary mask).
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.
Calculate scope (with generation data).
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.