Heureka API .NET Documentation
PredictionUnit Constructor(Int32,TreatmentUnit,StandObjectData)



Creates a new prediction unit that gets its site data from a StandObjectData object. This constructor was added to use with the test fixture DomainLayer.Import.StandRegister.Tests.TreeSimulatorFixture, but also useful for the 3G Plan-Heureka framework, which doesn't use the databases.
Syntax
'Declaration
 
Public Function New( _
   ByVal maxPeriods As Integer, _
   ByVal treatmentUnit As TreatmentUnit, _
   ByVal standObjectData As StandObjectData _
)
'Usage
 
Dim maxPeriods As Integer
Dim treatmentUnit As TreatmentUnit
Dim standObjectData As StandObjectData
 
Dim instance As New PredictionUnit(maxPeriods, treatmentUnit, standObjectData)
public PredictionUnit( 
   int maxPeriods,
   TreatmentUnit treatmentUnit,
   StandObjectData standObjectData
)
public:
PredictionUnit( 
   int maxPeriods,
   TreatmentUnit^ treatmentUnit,
   StandObjectData^ standObjectData
)

Parameters

maxPeriods
treatmentUnit
standObjectData
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

PredictionUnit Class
PredictionUnit Members
Overload List

Send Feedback