第2章 基於劃分-測試的實值檢測器產生演算法 檢測器產生演算法是實值非選擇演算法的重要組成部分,然而,目前的實值檢測器產生演算法基本都是隨機產生候選檢測器,具有很大隨機性。尤其,當對監測精度要求很高時,為產生足夠多的成熟檢測器,隨機演算法所需的時間花費往往很高。 本章提出了一種基於劃分測試的實值檢測器產生演算法,簡記為PT-RNSA(Real-Valued Detector Generation Algorithm based on
第3章 基於劃分-測試-擴充的實值檢測器產生演算法 本章旨在改善PT-RNSA演算法的效能,在劃分-測試的基礎上引入了擴充策略,提出了基於劃分-測試-擴充的實值檢測器產生演算法(PTS-RNSA:Real-Valued Detector Generation Algorithm based on the Partition-Test-Spread Proess),並通過實驗將其與PT-RNSA演算法以及V-detector演算法做了對比,取得了不錯的效果。3.1
#include"Queue.h" static void PT_detec(long double x ,long double y ,long double z ); static bool intersect(QueueElementType a, QueueElementType b); static bool intersect(QueueElementType a, square_A b); static bool inter(QueueElementType a,
#ifndef QUEUE_H_#define QUEUE_H_#include <iostream>#include<vector>#include<math.h>using namespace std;#define MAXSIZE 500000static int n_r;static int n_time;static long double s_all=0;static long double sum=0;const double
#include "queue.h"#include <windows.h>#include<fstream>using namespace std;extern long double rs,r0;extern int n_r;extern int n_time;extern long double s_all;extern long double sum;externconst double PI;vector <struct