bdnode.h

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

H
18
字号
// used by bbboard.cpp
#ifndef BoardNode_
#define BoardNode_

class BoardNode {
   friend int BBArrangeBoards(int **, int, int, int* &);
   public:
      operator int () const {return cd;}
   private:
      int *x,    // x[1:n] denotes a board permutation
           s,    // x[1:s] is partial permutation at current node
          cd,    // density of x[1:s]
          *now;  // now[j] is number of boards in x[1:s]
                 // that contain net j
};

#endif

⌨️ 快捷键说明

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