Package experimenting
Class MapperView
java.lang.Object
experimenting.MapperView
public class MapperView
extends java.lang.Object
Encapsulates the settings of one mapper this includes specific mapper parameters and generic ones (as the color to use for the mapper)
-
Field Summary
Fields Modifier and Type Field Description (package private) static int
g_id
(package private) ExperimentRunner.RandomBoolVariable
m_doWordCount
(package private) ExperimentRun
m_experimentRun
(package private) int
m_id
(package private) IRExperimentRunBase.Data
m_irData
(package private) ExperimentRunner.RandomDoubleVariable
m_omega
(package private) ExperimentRunner.RandomDoubleVariable
m_phi
(package private) ExperimentRunner.RandomDoubleVariable
m_threshold
-
Constructor Summary
Constructors Constructor Description MapperView()
MapperView(MapperView a_toBeCopied)
MapperView(ExperimentRun a_ex)
-
Method Summary
Modifier and Type Method Description ExperimentRun
createExperiment()
Creates a new experiment based on the parameters provided.ExperimentRunnerViewThread.DoExperimentAction
doExperiment(ImGuiWrapper a_imgui, boolean a_isRunning)
Called every frame when it is time to visualize the experiment.glm_.vec4.Vec4
getColor()
ExperimentRun
getExperimentRun()
java.lang.String
getName()
(package private) void
setExperiment(ExperimentRun a_exr)
-
Field Details
-
m_irData
IRExperimentRunBase.Data m_irData -
m_doWordCount
ExperimentRunner.RandomBoolVariable m_doWordCount -
m_threshold
ExperimentRunner.RandomDoubleVariable m_threshold -
m_omega
-
m_phi
-
g_id
static int g_id -
m_id
int m_id -
m_experimentRun
ExperimentRun m_experimentRun
-
-
Constructor Details
-
MapperView
MapperView() -
MapperView
MapperView(ExperimentRun a_ex) -
MapperView
MapperView(MapperView a_toBeCopied)
-
-
Method Details
-
setExperiment
- Parameters:
a_exr
- A new ExperimentRun the parameters of the MapperView shuld be set to match this new experiment.
-
doExperiment
public ExperimentRunnerViewThread.DoExperimentAction doExperiment(ImGuiWrapper a_imgui, boolean a_isRunning)Called every frame when it is time to visualize the experiment. Depending on if an experiment is set different parameter settings need to be provided.- Parameters:
a_imgui
- Visualization wrapper class.a_isRunning
- True if the experiment is running, i.e. the user should be able so see parameters but not change them.- Returns:
- an action telling if the user wants to do something to the experiment, e.g. delete it.
-
createExperiment
Creates a new experiment based on the parameters provided.- Returns:
- the newly created experiment.
-
getColor
public glm_.vec4.Vec4 getColor() -
getExperimentRun
-
getName
public java.lang.String getName()
-