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

📄 trans.h

📁 LinPacker是一个优化矩形布局的工具
💻 H
字号:
#include "rect.h"#include <qvaluevector.h>class trans{private:			QValueVector <int> permutations;	QValueVector <bool> orientations;	float	taille;	void	setIndex(int i, int b);	void	setPosit(int i, bool b);	public:	trans();	//trans(trans t1,trans t2);	void mutationI();	void mutationB();		void transformer();		int	getIndex(int i);	bool	getPosit(int i);				void	setTaille(float i);	float	getTaille();	void crossoverI(trans t1,trans t2);	void crossoverB(trans t1,trans t2);};bool operator< (trans x, trans y);

⌨️ 快捷键说明

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