qnode.h

来自「data structures, algorithms and Applicat」· C头文件 代码 · 共 19 行

H
19
字号
// used by bbloadc.cpp

#ifndef QNode_
#define QNode_

template<class T>
class  QNode {
   friend void AddLiveNode(LinkedQueue<QNode<T>*> &, T,
      int, int, T, QNode<T> *, QNode<T> *&, int *, bool);
   friend T MaxLoading(T *, T, int, int *);
   private:
      QNode *parent; // pointer to parent node
      bool LChild;   // true iff left child of parent
      T weight;      // weight of partial solution
                     // defined by path to this node
};

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?