Free cookie consent management tool by TermsFeed Policy Generator

source: branches/Templates/EmptyAlgorithm/EmptyAlgorithm/Plugin.cs @ 14362

Last change on this file since 14362 was 14362, checked in by gkronber, 7 years ago

added algorithm template

File size: 2.0 KB
Line 
1using HeuristicLab.PluginInfrastructure;
2
3namespace EmptyAlgorithm {
4  [Plugin("EmptyAlgorithm", "1.0")]
5  [PluginFile("EmptyAlgorithm.dll", PluginFileType.Assembly)] // each plugin represents a collection of files. The minimum is one file; the assembly.
6
7  // Usually your plugin references other HeuristicLab dlls. If you are referencing files (e.g. assemblies)
8  // from another plugin the corresponding plugin should be added as a dependency.
9  // Usually, if this information is incorrect you will still be able to use you plugin, but HL functionality
10  // which uses plugin dependency resolution will not work correctly. For instance if plugin dependencies are
11  // not correct then your plugin cannot be used on HeuristicLab.Hive
12  //
13  // [PluginDependency("HeuristicLab.Data", "3.3")]
14  // [PluginDependency("HeuristicLab.Core", "3.3")]
15
16  // HL plugin infrastructure discovers plugins on startup by trying to load all .dll and .exe files and looking for
17  // classes deriving from PluginBase. The meta-information for the plugin class is specified in the attributes
18  // above, and used by plugin infrastructure primarily for plugin dependency resolution.
19
20  // Steps:
21  // (1) Check out HL source code (e.g. the trunk version)
22  // (2) Build external libraries HeuristicLab.ExtLibs.sln using the Build.cmd (in the path of the HL source code)
23  // (3) Build HeuristicLab 3.3.sln using the Build.cmd
24  // (4) Build this project. The output path for binaries is set to "".
25  //     this assumes you have the following folder structure
26  //    <ROOT>
27  //    |..hl
28  //       |..branches
29  //       |  |..Templates
30  //       |     |..EmptyPlugin
31  //       |..trunk
32  //          |..sources
33  //             |.. bin
34
35  //  (5) Check that the output file has been added to the HL binaries folder (hl/trunk/sources/bin/EmptyPlugin.dll)
36  //  (6) Start hl/trunk/sources/bin/HeuristicLab.exe and open the "Plugin Manager".
37  //      Make sure your EmptyPlugin appears in the list of loaded plugins
38  public class Plugin : PluginBase {
39  }
40}
Note: See TracBrowser for help on using the repository browser.