📄 river.h
字号:
#ifndef RIVER_H
#define RIVER_H
#include "RNode.h"
#include <vector>
using namespace std;
class River {
public:
River(RNode* node);
void search();
bool add(int swapState, RNode* tempNode);
private:
RNode* startNode;
vector<RNode*> searchList;
vector<RNode*> usedList;
bool isValid(int state);
int getPos(int state, int pos) const;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -