C# 클래스 UserSimulation.Simulation

파일 보기 프로젝트 열기: plasma-umass/DataDebug

공개 메소드들

메소드 설명
Deserialize ( byte data ) : Simulation
Deserialize ( string file_name ) : Simulation
FormatResultsAsCSV ( ) : String
GetCalculatedError ( ) : double>.System.Collections.Generic.Dictionary
GetEffort ( ) : int
GetExitState ( ) : ErrorCondition
GetFalseNegatives ( ) : HashSet
GetFalsePositives ( ) : List
GetMaxEffort ( ) : int
GetRelativeEffort ( ) : double
GetTotalRelativeError ( ) : double
GetTruePositives ( ) : List
HeaderRowForCSV ( ) : String
RemainingError ( ) : double
Run ( int nboots, string xlfile, double significance, CutoffKind ck, Microsoft.Office.Interop.Excel app, Classification c, Random r, AnalysisType analysisType, bool weighted, bool all_outputs, DAG dag, Microsoft.Office.Interop.Excel wb, AST terminal_formula_cells, AST terminal_input_vectors, string>.System.Collections.Generic.Dictionary original_inputs, string>.System.Collections.Generic.Dictionary correct_outputs, long max_duration_in_ms, String logfile, ProgBar pb ) : int
RunFromBatch ( int nboots, string xlfile, double significance, Microsoft.Office.Interop.Excel app, CutoffKind ck, Classification c, Random r, AnalysisType analysisType, bool weighted, bool all_outputs, DAG dag, Microsoft.Office.Interop.Excel wb, string>.System.Collections.Generic.Dictionary errors, AST terminal_input_vectors, AST terminal_formula_cells, string>.System.Collections.Generic.Dictionary original_inputs, string>.System.Collections.Generic.Dictionary correct_outputs, long max_duration_in_ms, String logfile ) : int
Serialize ( ) : byte[]
Serialize ( string file_name ) : void
ToCSV ( string output_filename ) : void

Creates a CSV file with information about the CheckCell oracle simulation.

ToTimeseriesCSV ( Microsoft.Office.Interop.Excel wb, double current_error, double current_effort ) : void
TopOfKErrors ( AST terminal_formula_nodes, string>.System.Collections.Generic.Dictionary inputs, int k, string>.System.Collections.Generic.Dictionary correct_outputs, Microsoft.Office.Interop.Excel app, Microsoft.Office.Interop.Excel wb, string classification_file, DAG dag ) : Dictionary>

비공개 메소드들

메소드 설명
SimulateUser ( int nboots, double significance, CutoffKind ck, DAG dag, string>.System.Collections.Generic.Dictionary original_inputs, string>.System.Collections.Generic.Dictionary errord, string>.System.Collections.Generic.Dictionary correct_outputs, Microsoft.Office.Interop.Excel wb, Microsoft.Office.Interop.Excel app, AnalysisType analysis_type, bool weighted, bool all_outputs, long max_duration_in_ms, Stopwatch sw, String logfile, ProgBar pb ) : UserResults

메소드 상세

Deserialize() 공개 정적인 메소드

public static Deserialize ( byte data ) : Simulation
data byte
리턴 Simulation

Deserialize() 공개 정적인 메소드

public static Deserialize ( string file_name ) : Simulation
file_name string
리턴 Simulation

FormatResultsAsCSV() 공개 메소드

public FormatResultsAsCSV ( ) : String
리턴 String

GetCalculatedError() 공개 메소드

public GetCalculatedError ( ) : double>.System.Collections.Generic.Dictionary
리턴 double>.System.Collections.Generic.Dictionary

GetEffort() 공개 메소드

public GetEffort ( ) : int
리턴 int

GetExitState() 공개 메소드

public GetExitState ( ) : ErrorCondition
리턴 ErrorCondition

GetFalseNegatives() 공개 메소드

public GetFalseNegatives ( ) : HashSet
리턴 HashSet

GetFalsePositives() 공개 메소드

public GetFalsePositives ( ) : List
리턴 List

GetMaxEffort() 공개 메소드

public GetMaxEffort ( ) : int
리턴 int

GetRelativeEffort() 공개 메소드

public GetRelativeEffort ( ) : double
리턴 double

GetTotalRelativeError() 공개 메소드

public GetTotalRelativeError ( ) : double
리턴 double

GetTruePositives() 공개 메소드

public GetTruePositives ( ) : List
리턴 List

HeaderRowForCSV() 공개 정적인 메소드

public static HeaderRowForCSV ( ) : String
리턴 String

RemainingError() 공개 메소드

public RemainingError ( ) : double
리턴 double

Run() 공개 메소드

public Run ( int nboots, string xlfile, double significance, CutoffKind ck, Microsoft.Office.Interop.Excel app, Classification c, Random r, AnalysisType analysisType, bool weighted, bool all_outputs, DAG dag, Microsoft.Office.Interop.Excel wb, AST terminal_formula_cells, AST terminal_input_vectors, string>.System.Collections.Generic.Dictionary original_inputs, string>.System.Collections.Generic.Dictionary correct_outputs, long max_duration_in_ms, String logfile, ProgBar pb ) : int
nboots int
xlfile string
significance double
ck CutoffKind
app Microsoft.Office.Interop.Excel
c Classification
r System.Random
analysisType AnalysisType
weighted bool
all_outputs bool
dag DataDebugMethods.DAG
wb Microsoft.Office.Interop.Excel
terminal_formula_cells AST
terminal_input_vectors AST
original_inputs string>.System.Collections.Generic.Dictionary
correct_outputs string>.System.Collections.Generic.Dictionary
max_duration_in_ms long
logfile String
pb DataDebugMethods.ProgBar
리턴 int

RunFromBatch() 공개 메소드

public RunFromBatch ( int nboots, string xlfile, double significance, Microsoft.Office.Interop.Excel app, CutoffKind ck, Classification c, Random r, AnalysisType analysisType, bool weighted, bool all_outputs, DAG dag, Microsoft.Office.Interop.Excel wb, string>.System.Collections.Generic.Dictionary errors, AST terminal_input_vectors, AST terminal_formula_cells, string>.System.Collections.Generic.Dictionary original_inputs, string>.System.Collections.Generic.Dictionary correct_outputs, long max_duration_in_ms, String logfile ) : int
nboots int
xlfile string
significance double
app Microsoft.Office.Interop.Excel
ck CutoffKind
c Classification
r System.Random
analysisType AnalysisType
weighted bool
all_outputs bool
dag DataDebugMethods.DAG
wb Microsoft.Office.Interop.Excel
errors string>.System.Collections.Generic.Dictionary
terminal_input_vectors AST
terminal_formula_cells AST
original_inputs string>.System.Collections.Generic.Dictionary
correct_outputs string>.System.Collections.Generic.Dictionary
max_duration_in_ms long
logfile String
리턴 int

Serialize() 공개 메소드

public Serialize ( ) : byte[]
리턴 byte[]

Serialize() 공개 메소드

public Serialize ( string file_name ) : void
file_name string
리턴 void

ToCSV() 공개 메소드

Creates a CSV file with information about the CheckCell oracle simulation.
public ToCSV ( string output_filename ) : void
output_filename string Path for writing CSV.
리턴 void

ToTimeseriesCSV() 공개 정적인 메소드

public static ToTimeseriesCSV ( Microsoft.Office.Interop.Excel wb, double current_error, double current_effort ) : void
wb Microsoft.Office.Interop.Excel
current_error double
current_effort double
리턴 void

TopOfKErrors() 공개 메소드

public TopOfKErrors ( AST terminal_formula_nodes, string>.System.Collections.Generic.Dictionary inputs, int k, string>.System.Collections.Generic.Dictionary correct_outputs, Microsoft.Office.Interop.Excel app, Microsoft.Office.Interop.Excel wb, string classification_file, DAG dag ) : Dictionary>
terminal_formula_nodes AST
inputs string>.System.Collections.Generic.Dictionary
k int
correct_outputs string>.System.Collections.Generic.Dictionary
app Microsoft.Office.Interop.Excel
wb Microsoft.Office.Interop.Excel
classification_file string
dag DataDebugMethods.DAG
리턴 Dictionary>