Package com.exigen.ie.tools

Examples of com.exigen.ie.tools.FastStack


/**
  * Constructor with given undo stack.
  */
  public GoalStack(UndoStack undoStack)
  {
    init(new FastStack(), undoStack);
  }
View Full Code Here


/**
  * Constructor with given main goal and undo stack.
  */
  public GoalStack(Goal mainGoal, UndoStack undoStack)
  {
    FastStack initialGoals = new FastStack();
    initialGoals.push(mainGoal);
    init(initialGoals, undoStack);
  }
View Full Code Here

  * Initialize this goal stack.
  */
  final void init(FastStack initialGoals, UndoStack undoStack)
  {
    _exeStack = initialGoals;
    _choicePointStack = new FastStack();
    _undoStack = undoStack;
    _undoStackSize = undoStack.size();
  }
View Full Code Here

    _initial_memory = Runtime.getRuntime().totalMemory()
        - Runtime.getRuntime().freeMemory();
    _max_occupied_memory = _initial_memory;
    _name = new String(s);

    _active_undoable_once = new FastStack();

    _intvars = new FastVector();
    _floatvars = new FastVector();
    _intsetvars = new FastVector();
    _constraints = new FastVector();
View Full Code Here

/**
  * Default constructor.
  */
  public UndoStack()
  {
    _stack = new FastStack();
  }
View Full Code Here

TOP

Related Classes of com.exigen.ie.tools.FastStack

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.