Heureka API .NET Documentation
Tree Constructor



Maximum number of periods that can be handled by the forest objects
PredictionUnit tree belongs to
Data record for tree to be created
Creates a new tree for the row that the given record points to.
Syntax
'Declaration
 
Public Function New( _
   ByVal maxPeriods As Integer, _
   ByVal p As PredictionUnit, _
   ByVal recTree As IDataRecord _
)
'Usage
 
Dim maxPeriods As Integer
Dim p As PredictionUnit
Dim recTree As IDataRecord
 
Dim instance As New Tree(maxPeriods, p, recTree)

Parameters

maxPeriods
Maximum number of periods that can be handled by the forest objects
p
PredictionUnit tree belongs to
recTree
Data record for tree to be created
Remarks
Note 1. Data record must have fields assigned in the order given by the DBCol enumeration in this class. Note 2. Created tree will default be marked databaseorigin = true. May be changed using DatabaseOrigin property.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Tree Class
Tree Members

Send Feedback