⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qnode.h

📁 data struct algorithm and application in c++ 一书的课后答案源码
💻 H
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -