Skip to content

Commit f31e959

Browse files
committed
Documentation improved.
1 parent ee7d990 commit f31e959

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

aima-gui/src/main/java/aima/gui/fx/demo/search/local/GeneticMaximumFinderApp.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ protected Parameter[] createParameters() {
8282
}
8383

8484
/** Displays the selected function on the state view. */
85-
@SuppressWarnings("unchecked")
8685
@Override
8786
public void initialize() {
8887
funcPlotterCtrl.setFunction((Function<Double, Double>) simPaneCtrl.getParamValue(PARAM_FUNC_SELECT));
@@ -94,7 +93,6 @@ public void finalize() {
9493
}
9594

9695
/** Starts the experiment. */
97-
@SuppressWarnings("unchecked")
9896
public void simulate() {
9997
experiment = new GeneticMaximumFinderProg();
10098
experiment.setFunction((Function<Double, Double>) simPaneCtrl.getParamValue(PARAM_FUNC_SELECT));

aima-gui/src/main/java/aima/gui/fx/framework/package-info.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
/**
2-
* This package provides useful classes for building graphical agent
2+
* This package provides useful classes for building graphical demonstration
33
* applications based on JavaFX. The framework strongly relies on the builder
44
* pattern (GoF). A pane for controlling and visualizing agents in their
55
* environment can easily be created by means of a
6-
* {@link SimulationPaneBuilder}. Using {@link IntegrableApplication} as super
6+
* {@link aima.gui.fx.framework.SimulationPaneBuilder}. Using
7+
* {@link aima.gui.fx.framework.IntegrableApplication} as super
78
* class for demonstration applications makes several of them integrable into a
89
* common window. Such an integrated application, which allows to switch between
910
* different demonstration applications and simple console applications at
1011
* runtime, can easily be created by means of another builder called
11-
* {@link IntegratedAppPaneBuilder}. Note that names of controller classes
12-
* containing GUI logic (often called code-behind files) end with
13-
* <code>Ctrl</code>.
12+
* {@link aima.gui.fx.framework.IntegratedAppPaneBuilder}.
13+
* Note that names of controller classes containing GUI logic (often called
14+
* code-behind files) end with <code>Ctrl</code>.
1415
*
1516
* @author Ruediger Lunde
1617
*/
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/**
2+
* This package provides useful controller classes vor the visualization of system states in simulation applications.
3+
* Each controller class provides a constructor which accepts a root node (either a BorderPane or a Canvas).
4+
* The constructor adds elements to the node which will be used to visualize the system state. Updates and interactions
5+
* are handled by the controller. Some controllers know the system and its current state after
6+
* initialization, others receive the required information in their update methods.
7+
*
8+
* @author Ruediger Lunde
9+
*/
10+
package aima.gui.fx.views;

0 commit comments

Comments
 (0)