Free cookie consent management tool by TermsFeed Policy Generator

Changes between Version 4 and Version 5 of Documentation/Howto/Implement a Basic Algorithm


Ignore:
Timestamp:
03/21/12 14:05:45 (12 years ago)
Author:
ascheibe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/Howto/Implement a Basic Algorithm

    v4 v5  
    66
    77== A random algorithm ==
    8 We will now implement an algorithm for !HeuristicLab which does nothing more then just create a random number. To give you an overview of how the structure of the algorithm should look like, have a look on the operator graph of the algorithm:
     8We will now implement an algorithm for !HeuristicLab which does nothing more then just create a random number. To give you an overview of how the structure of the algorithm should look like, have a look at the operator graph of the algorithm:
    99
    1010[[Image(randomAlgorithm.PNG)]]
    1111
    1212!RandomCreator is the initial operator which gets executed (therefore the green color). The !RandomCreator creates a random number generator. It can be configured to have a fixed seed as well as the type of the random number generator.
    13 The second operator is the !VariableCreator which can be parameterized to create variables. In this case one variable (!ResultValue) is configured in which the !UniformRandomizer will save it's result. !UniformRandomizer samples random numbers between Min and Max with the random number generator created by !RandomCreator.
     13The second operator is the !VariableCreator which can be parameterized to create variables. In this case one variable (!ResultValue) is configured to be created. The !UniformRandomizer will later save it's result into this variable. !UniformRandomizer samples random numbers between Min and Max with the random number generator created by !RandomCreator.
    1414The last operator is the !ResultsCollector which collects the value of our !ResultValue. This value can then be viewed in !HeuristicLab Optimizer in the results tab.
    1515