public TreeSideEffectOperator( GraphViewExecutionOperator inputOp, TreeFunction treeState, int pathIndex) { this.inputOp = inputOp; this.TreeState = treeState; this.pathIndex = pathIndex; this.Open(); }
public TreeSideEffectOperator( GraphViewExecutionOperator inputOp, TreeFunction treeFunction, string sideEffectKey, int pathIndex) { this.inputOp = inputOp; this.treeFunction = treeFunction; this.pathIndex = pathIndex; this.sideEffectKey = sideEffectKey; this.Open(); }
private void Reconstruct(StreamingContext context) { AdditionalSerializationInfo additionalInfo = (AdditionalSerializationInfo)context.Context; this.treeFunction = (TreeFunction)additionalInfo.SideEffectFunctions[this.sideEffectKey]; }