#include<iostream>
#include<math.h>
using namespace std;
class Circle
{
public:
float Center(int t);
void Compute(void );
void BackTrack(int t);
float min; //当前最优值
float *x; //当前圆排列圆心横坐标
float *r; //当前圆排列
float *result; //记录最终 的圆半径排序
int n; //待排列圆的个数
};
float Circle::Center(int t)//计算当前所选圆的圆心横坐标
{
float temp = 0;//记录临时的圆心的横坐标
for(int j=1;j<t;j++)
{
06-16
692
06-16
311
06-02
361
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交