Weight of the channel is the maximum weight of its subchannels. More...
#include <Channels/FeatureBiaser.H>
Public Member Functions | |
WeightFinder () | |
Construct with settings for the algorithm. | |
virtual | ~WeightFinder () |
Virtual destructor. | |
virtual void | visitChannelBase (ChannelBase &chan) |
Visit the given ChannelBase node. | |
virtual void | visitSingleChannel (SingleChannel &chan) |
Visit the given SingleChannel node. | |
virtual void | visitComplexChannel (ComplexChannel &chan) |
Visit the given ComplexChannel node. |
Weight of the channel is the maximum weight of its subchannels.
used for biasing to find targets
Definition at line 73 of file FeatureBiaser.H.
WeightFinder::WeightFinder | ( | ) |
Construct with settings for the algorithm.
Definition at line 90 of file FeatureBiaser.C.
WeightFinder::~WeightFinder | ( | ) | [virtual] |
Virtual destructor.
Definition at line 96 of file FeatureBiaser.C.
void WeightFinder::visitChannelBase | ( | ChannelBase & | chan | ) | [virtual] |
Visit the given ChannelBase node.
Implements ChannelVisitor.
Definition at line 99 of file FeatureBiaser.C.
References ModelComponent::tagName().
void WeightFinder::visitComplexChannel | ( | ComplexChannel & | chan | ) | [virtual] |
Visit the given ComplexChannel node.
Implements ChannelVisitor.
Definition at line 133 of file FeatureBiaser.C.
References ComplexChannel::getSubchanTotalWeight(), max(), ComplexChannel::numChans(), ComplexChannel::setSubchanTotalWeight(), ComplexChannel::subChan(), and sum().
void WeightFinder::visitSingleChannel | ( | SingleChannel & | chan | ) | [virtual] |
Visit the given SingleChannel node.
Implements ChannelVisitor.
Definition at line 105 of file FeatureBiaser.C.
References SingleChannel::killCaches(), max(), SingleChannel::numSubmaps(), and sum().