Description Objects from the Class Slots Methods Examples
A container class with results from executing a (repetition of) test problem(s).
Objects can be created by calls of the form new("test.result",
...)
, but the object is normally provided as the result of executing
psoptim
on an object of class "test.problem"
.
problem
:Object of class "test.problem"
.
result
:A list with each of the results from
repetitive invocation of psoptim
on problem
.
time
:The overall time taken for executing the test.
Object of class "numeric"
.
signature(object = "test.result")
:
internal method used to calculate the success rate for a series of
test results. See getSuccessRate-methods
for details.
signature(x = "test.result")
: add lines with the
test result to an existing plot. See lines-methods
for details.
signature(x = "test.result", y = "missing")
: plot
the test result. See plot-methods
for details.
signature(x = "test.result")
: add points with
the test result to an existing plot. See points-methods
for details.
signature(object = "test.result")
: summary
statistics of the test. See show-methods
for details.
1 2 3 4 5 6 7 8 9 10 11 |
Class "test.result" [package "pso"]
Slots:
Name: problem result time
Class: test.problem list numeric
TEST RESULTS
Test problem: rastrigin
Dimension: 2
Objective: 0
Max function eval.: 3000
Number of tests: 10
Objective mean: 3.552714e-16
Objective s.d.: 1.123467e-15
Objective min: 0
Objective max.: 3.552714e-15
Success rate: 90%
Efficiency: 25.34%
Timing: 1.042 s. (user), 0.008 s. (system), 1.058 s. (elapsed)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.