C# Class Encog.Normalize.Segregate.RangeSegregator

Range segregators are used to segregate data and include or exclude if it is within a certain range.
Inheritance: ISegregator
Show file Open project: encog/encog-silverlight-core

Public Methods

Method Description
AddRange ( SegregationRange range ) : void

Add a range.

AddRange ( double low, double high, bool include ) : void

Add a range.

Init ( DataNormalization normalization ) : void

Init the object.

PassInit ( ) : void

Init for pass... nothing to do fo this class.

RangeSegregator ( ) : System

Default constructor for reflection.

RangeSegregator ( IInputField sourceField, bool include ) : System

Construct a range segregator.

ShouldInclude ( ) : bool

True if the current row should be included according to this segregator.

Method Details

AddRange() public method

Add a range.
public AddRange ( SegregationRange range ) : void
range SegregationRange The range to add.
return void

AddRange() public method

Add a range.
public AddRange ( double low, double high, bool include ) : void
low double The low end of the range.
high double The high end of the range.
include bool Should this range be included.
return void

Init() public method

Init the object.
public Init ( DataNormalization normalization ) : void
normalization DataNormalization The normalization object that owns this range.
return void

PassInit() public method

Init for pass... nothing to do fo this class.
public PassInit ( ) : void
return void

RangeSegregator() public method

Default constructor for reflection.
public RangeSegregator ( ) : System
return System

RangeSegregator() public method

Construct a range segregator.
public RangeSegregator ( IInputField sourceField, bool include ) : System
sourceField IInputField The source field.
include bool Default action, if the data is not in any of the ranges, /// should it be included.
return System

ShouldInclude() public method

True if the current row should be included according to this segregator.
public ShouldInclude ( ) : bool
return bool