-
Notifications
You must be signed in to change notification settings - Fork 0
/
HunDun.h
66 lines (46 loc) · 1.72 KB
/
HunDun.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#if !defined(AFX_HUNDUN_H__769A125C_1ECC_11D8_901E_B7C5E14A531B__INCLUDED_)
#define AFX_HUNDUN_H__769A125C_1ECC_11D8_901E_B7C5E14A531B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// HunDun.h : header file
//
#include "GeometryR.h"
#define N 2
#define M 50
/////////////////////////////////////////////////////////////////////////////
class CHunDun {
// Construction
public:
CHunDun(double x = 0, double y = 0, double x_goal = 0, double y_goal = 0);
// Attributes
public:
// Operations
public:
UINT MapRand(UINT nMax);
double yg; // Ŀ���λ��
double xg;
int iz; // �ϰ������
double XYT1[2]; // ��һ���ڻ���������
double XYTO[2]; // ��ǰ����������
double XYOX[20]; // �ϰ���X����
double XYOY[20]; // �ϰ���Y����
double X[N]; // ���벽��[0]�ͽǶ�[1]
double OPTX[N]; // ��ʱ����
double COEA[N]; // ��ʱ����
double XX[N][M]; // ��ʱ����
double F[M]; // ��ʱ����
double B[N]; // ��ʱ����
double A[N]; // ��ʱ����
double MINU; // ��ʱ����
void CARRIERWAVE();
double fj();
void CHAOS();
public:
void hundun(VecPosition pos[], int nObstacles);
virtual ~CHunDun();
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_HUNDUN_H__769A125C_1ECC_11D8_901E_B7C5E14A531B__INCLUDED_)