-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.cpp
More file actions
33 lines (28 loc) · 823 Bytes
/
main.cpp
File metadata and controls
33 lines (28 loc) · 823 Bytes
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
#include "ModelData.hpp"
#include "SG.hpp"
#include "ST.hpp"
#include "SP1to2.hpp"
#include "SP2to1.hpp"
#include "SS.hpp"
#include "ROCCurve.hpp"
#include <vector>
#include <iostream>
#include <memory>
int main()
{
IntVec nList{3, 3};
DoubleVec sigmaList{1.0, 1.0};
ModelData model(nList, sigmaList);
std::cout << "SG開始" << std::endl;
ROCCurve curveSG(std::make_unique<SG>(model));
curveSG.plotCurve("SG_3.csv");
std::cout << "ST開始" << std::endl;
ROCCurve curveST(std::make_unique<ST>(model));
curveST.plotCurve("ST_3.csv");
std::cout << "SP1to2開始" << std::endl;
ROCCurve curveSP1to2(std::make_unique<SP1to2>(model));
curveSP1to2.plotCurve("SP1to2_3.csv");
std::cout << "SS開始" << std::endl;
ROCCurve curveSS(std::make_unique<SS>(model));
curveSS.plotCurve("SS_3.csv");
}