Class StepOptContext
Various (include initial, transient and destination) of step datas for the optimization process.
public class StepOptContext
- Inheritance
-
StepOptContext
- Inherited Members
- Extension Methods
Remarks
Ported from HiNc NcOptProc.StepOptContext (frozen HardNc baseline,
HiNc/NcOpt/StepOptContext.cs lines 10-27).
Constructors
StepOptContext(StepAdjustment, NcOptOption, IndexSegment)
Ctor.
public StepOptContext(StepAdjustment optStep, NcOptOption ncOptOption, IndexSegment expandedIndexSegment)
Parameters
optStepStepAdjustmentStep adjustment. See StepAdjustment for the identity constraint.
ncOptOptionNcOptOptionThe optimization option effective on this step.
expandedIndexSegmentIndexSegmentThe extended step index segment.
Properties
ExtendedIndexSegment
The extended (pre/post distance expanded) step index segment around this step.
public IndexSegment ExtendedIndexSegment { get; set; }
Property Value
IsAnyTouchedOnExtendedSegment
Whether any step on ExtendedIndexSegment is touched.
public bool IsAnyTouchedOnExtendedSegment { get; set; }
Property Value
NcOptOption
The optimization option effective on this step.
public NcOptOption NcOptOption { get; set; }
Property Value
StepAdjustment
The StepOptContext.StepAdjustment must always not be the same object as the pack's StepAdjustment. Since the flatting process should be independent to the pack's StepAdjustment to keep the local logic.
public StepAdjustment StepAdjustment { get; set; }