Exemple #1
0
 public void PopState(int levels = 1)
 {
     for (int i = 0; i < levels; i++)
     {
         this.currentState = this.stateStack.Pop().ToBuilder();
     }
 }
Exemple #2
0
        private ArrayTheorySymbolicHeap(
            ISymbolicHeapContext context,
            Stack <HeapState> stateStack,
            HeapState currentState)
        {
            this.context      = context;
            this.currentState = currentState.ToBuilder();

            foreach (var state in stateStack.Reverse())
            {
                this.stateStack.Push(state);
            }
        }
Exemple #3
0
 public ArrayTheorySymbolicHeap(ISymbolicHeapContext context)
 {
     this.context      = context;
     this.currentState = HeapState.BasicState.ToBuilder();
 }