DSL_instanceCounts

<< Click to Display Table of Contents >>

Navigation:  Reference Manual >

DSL_instanceCounts

Header file: instancecounts.h


int Calculate(const DSL_network &network, const DSL_dataset &data, 

        const std::vector<DSL_datasetMatch> &matching);

Calculates the instance counts for network and data using matching. The instance count is calculated for each CPT column of each node in the network based on the number of occurrences in the data set. Returns DSL_OKAY or a negative status code on error.


int SetUniform(const DSL_network &net, int uniformCount);

Sets uniform instance counts for all nodes in the network. Returns DSL_OKAY or a negative status code on error.


int Override(int nodeHandle, int count);

Overrides the instance count for all columns in the CPT of the specified node. Returns DSL_OKAY or a negative status code on error.