Example #1
0
        public TreeSideEffectOperator(
            GraphViewExecutionOperator inputOp,
            TreeFunction treeState,
            int pathIndex)
        {
            this.inputOp   = inputOp;
            this.TreeState = treeState;
            this.pathIndex = pathIndex;

            this.Open();
        }
Example #2
0
 public TreeSideEffectOperator(
     GraphViewExecutionOperator inputOp,
     TreeFunction treeFunction,
     string sideEffectKey,
     int pathIndex)
 {
     this.inputOp       = inputOp;
     this.treeFunction  = treeFunction;
     this.pathIndex     = pathIndex;
     this.sideEffectKey = sideEffectKey;
     this.Open();
 }
Example #3
0
        private void Reconstruct(StreamingContext context)
        {
            AdditionalSerializationInfo additionalInfo = (AdditionalSerializationInfo)context.Context;

            this.treeFunction = (TreeFunction)additionalInfo.SideEffectFunctions[this.sideEffectKey];
        }