home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tlx501.zip / SRC / SUBPROBL.CPP < prev    next >
C/C++ Source or Header  |  1996-07-08  |  3KB  |  88 lines

  1. /****************************************************************************
  2.     $Id: subprobl.cpp 501.0 1995/03/07 12:26:24 RON Exp $
  3.  
  4.     Copyright (c) 1991-95 Tarma Software Research. All rights reserved.
  5.  
  6.     Project:    Tarma Library for C++ V5.0
  7.     Author:    Ron van der Wal
  8.  
  9.     Implementation of classes TLProblemState and TLProblemInfo.
  10.  
  11.     $Log: subprobl.cpp $
  12.     Revision 501.0  1995/03/07 12:26:24  RON
  13.     Updated for TLX 5.01
  14.     Revision 1.11  1995/02/22 12:23:08  RON
  15.     Update for release 012
  16.     Added partial support for SunPro C++ compiler
  17.     Revision 1.10  1995/01/12  13:41:59  ron
  18.     Adapted to previous Searcher/ProblemRep model
  19.  
  20.     Revision 1.9  1995/01/06  15:56:56  ron
  21.     Adapted to new Searcher/Problem model
  22.  
  23.     Revision 1.8  1995/01/05  15:30:10  ron
  24.     Naming changes
  25.  
  26.     Revision 1.7  1994/11/16  15:43:31  ron
  27.     Added module info; rearranged #include directives
  28.  
  29.     Revision 1.6  1994/10/12  10:05:41  ron
  30.     Added TLProblemInfo and related TLProblemState functions
  31.  
  32.     Revision 1.5  1994/10/10  16:55:16  ron
  33.     Changed to <tlx\solve\searcher.h>
  34.  
  35.     Revision 1.4  1994/09/28  14:22:33  ron
  36.     Removed Macintosh-style #include references
  37.  
  38.     Revision 1.3  1994/09/27  20:23:05  ron
  39.     Changed path separator from / to \
  40.  
  41.     Revision 1.2  1994/09/26  15:47:54  ron
  42.     Changed include file references
  43.  
  44.     Revision 1.1  1994/09/06  20:27:56  ron
  45.     Initial revision
  46.  
  47. ****************************************************************************/
  48.  
  49. #include <tlx\501\_build.h>
  50.  
  51. TLX_MODULE_INFO("$Revision: 501.0 $");
  52.  
  53. #include <tlx\501\solve\searcher.h>
  54.  
  55. /*-------------------------------------------------------------------------*/
  56.     //TLProblemState::TLProblemState(TLProblemState *aParent)
  57.     TLProblemState::TLProblemState()
  58.  
  59. /*  Constructor; links the subproblem to its parent (if any).
  60. ---------------------------------------------------------------------------*/
  61. //: mParent(aParent)
  62. {
  63.   #ifdef _TLXDBG
  64.     mIsProcessed = false;
  65.   #endif
  66. }
  67.  
  68. /*-------------------------------------------------------------------------*/
  69.     TLProblemInfo *TLProblemState::GetInfo()
  70.  
  71. /*  Returns extra information about the problem. The default implementation
  72.     returns 0.
  73. ---------------------------------------------------------------------------*/
  74. {
  75.     return 0;
  76. }
  77.  
  78. /*-------------------------------------------------------------------------*/
  79.     double TLProblemState::GetRank() const
  80.  
  81. /*  Returns the ranking of the node. In the default implementation, 0 is
  82.     returned.
  83. ---------------------------------------------------------------------------*/
  84. {
  85.     return 0;
  86. }
  87.  
  88.