📄 xzdcx_display.h
字号:
//---------------------------------------------------------------------------
#ifndef xzDcx_displayH
#define xzDcx_displayH
//---------------------------------------------------------------------------
#include <vcl\Classes.hpp>
#include <vcl\Controls.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Forms.hpp>
#include <vcl\Buttons.hpp>
#include "Grids.hpp"
#include "TDcxQ.h"
#include "xzDcx.h"
#include "Matrix.h"
#include "Vector.h"
#include <ExtCtrls.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class Tfrm_xzDcx_display : public TForm
{
__published: // IDE-managed Components
TPanel *Panel1;
TPanel *Panel2;
TPanel *Panel3;
TBitBtn *btn_close;
TBitBtn *btn_save;
TBitBtn *btn_print;
TPanel *Panel4;
TPanel *Panel5;
TMemo *memo_display;
TSaveDialog *dlg_save;
TPrintDialog *dlg_print;
void __fastcall FormDestroy(TObject *Sender);
void __fastcall btn_closeClick(TObject *Sender);
void __fastcall btn_saveClick(TObject *Sender);
void __fastcall btn_printClick(TObject *Sender);
private: // User declarations
public: // User declarations
TMatrix* fIMatJudge; //非基判别行矩阵MatJudge
TCVector* fICVetPivot; //枢列向量
unsigned int* fIs; //枢列坐标s
unsigned int* fIr; //枢行坐标r
TMatrix* fIIMatJudge; //非基判别行矩阵MatJudge
TCVector* fIICVetPivot; //枢列向量
unsigned int* fIIs; //枢列坐标s
unsigned int* fIIr; //枢行坐标r
void AddBase(TStrings* aLines,KTList<unsigned int>* aLB);
void AddMatrix(TStrings* aLines,TMatrix* aMat);
void AddDcxQ(TStrings* aLines,TDcxQuestion* aDcxQ);
AnsiString Format(AnsiString as,int aLength);
void ResetRule(TDcxQuestion* aDcxQ,TDcxQuestion* aRuleDcxQ,TDcxQuestion* aAssistantDcxQ);
void Reset(TDcxQuestion* aDcxQ, //原问题
TDcxQuestion* aRuleDcxQ, //规范型问题
bool adoRule, //是否要化为规范型问题
TDcxQuestion* aAssistantDcxQ, //辅助问题
bool adoFirst, //是否要进行第一阶段构造辅助问题
bool adoSecond, //规范性问题是否有可行解
KTList<TxzDcx*>* aILResult, //第一阶段结果数据
KTList<TxzDcx*>* aIILResult, //第二阶段结果数据
TMatrix* fMatTranForm //规范型到原问题的变换矩阵
);
__fastcall Tfrm_xzDcx_display(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern Tfrm_xzDcx_display *frm_xzDcx_display;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -