Package logging
Klasse Algorithm<PARAM extends ParameterArea,LOG extends LogElement>
java.lang.Object
logging.Algorithm<PARAM,LOG>
- Bekannte direkte Unterklassen:
OurAlgorithm
This class provides the basic algorithm.
Use it in assoziation with packages logging and visualization.
Extend it by the members you need and overwrite LogElementListrun() which contains the specific algorithmic procedures.
Therein you should fill a LogElementList and return it.
Parameters for algorithm processing are read from member parameterArea that ist part of the user interface.
- Siehe auch:
-
Feldübersicht
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the algorithm's parameter area.getTitle()
Returns the algorithm title.abstract LogElementList
<LOG> run()
Runs the algorithm with parameters specified in parameterArea.void
setParameterArea
(PARAM parameterArea) Sets the algorithm's parameter area.void
Sets the algorithm's title.
-
Felddetails
-
title
Algorithm title. -
parameterArea
Algorithm parameter area from which the algorithm gets its parameters.
-
-
Konstruktordetails
-
Algorithm
public Algorithm()Standard constructor. -
Algorithm
Creates algorithm with specified title and parameter area.
-
-
Methodendetails
-
run
Runs the algorithm with parameters specified in parameterArea. Returns the LogElementList produced by the algorithm processing. To use this class you will have to overwrite this method.- Gibt zurück:
- a LogElementList containing the algorithm processings single steps
-
getTitle
Returns the algorithm title.- Gibt zurück:
- the algorithm title.
-
setTitle
Sets the algorithm's title.- Parameter:
title
- the algorithm's title
-
setParameterArea
Sets the algorithm's parameter area.- Parameter:
parameterArea
- the algorithm's parameter area
-
getParameterArea
Returns the algorithm's parameter area.- Gibt zurück:
- the algorithm's parameter area
-