/[projectaxis]/projectaxis/projectAxis/src/blotchmaker/stlastar.h
ViewVC logotype

Diff of /projectaxis/projectAxis/src/blotchmaker/stlastar.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by vovansim, Tue Apr 22 22:43:26 2003 UTC revision 1.2 by leiavoia, Wed May 28 02:38:07 2003 UTC
# Line 95  public: // methods Line 95  public: // methods
95    
96          // constructor just initialises private data          // constructor just initialises private data
97          AStarSearch( int MaxNodes = 1000 ) :          AStarSearch( int MaxNodes = 1000 ) :
98                  m_AllocateNodeCount(0),                  m_CurrentSolutionNode( NULL ),
99                  m_FreeNodeCount(0),                  m_FreeNodeCount(0),
100                    m_AllocateNodeCount(0),
101                  // ****KILLED****                  // ****KILLED****
102                  //m_FixedSizeAllocator( MaxNodes ),                  //m_FixedSizeAllocator( MaxNodes ),
                 m_CurrentSolutionNode( NULL ),  
103                  m_State( SEARCH_STATE_NOT_INITIALISED ),                  m_State( SEARCH_STATE_NOT_INITIALISED ),
104                  m_CancelRequest( false )                  m_CancelRequest( false )
105          {          {
# Line 694  private: // data Line 694  private: // data
694          Node *m_Start;          Node *m_Start;
695          Node *m_Goal;          Node *m_Goal;
696    
697          Node *m_CurrentSolutionNode;          Node *m_CurrentSolutionNode; //
698    
699          // Memory ****KILLED****          // Memory ****KILLED****
700          //FixedSizeAllocator<Node> m_FixedSizeAllocator;          //FixedSizeAllocator<Node> m_FixedSizeAllocator;
# Line 705  private: // data Line 705  private: // data
705          typename vector< Node * >::iterator iterDbgClosed;          typename vector< Node * >::iterator iterDbgClosed;
706    
707          // debugging : count memory allocation and free's          // debugging : count memory allocation and free's
708          int m_AllocateNodeCount;          int m_FreeNodeCount; //
709          int m_FreeNodeCount;          int m_AllocateNodeCount; //
710    
711    
712          // State          // State
713          unsigned int m_State;          unsigned int m_State;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26