Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3022-FastFunctionExtraction/FFX/Plugin.cs @ 17762

Last change on this file since 17762 was 17762, checked in by lkammere, 4 years ago

#3022 Fix dependencies in FFX implementation, so that it is runnable in Hive.

File size: 3.0 KB
RevLine 
[17218]1using HeuristicLab.PluginInfrastructure;
2
3namespace EmptyAlgorithm {
4  [Plugin("HeuristicLab.Algorithms.DataAnalysis.FastFunctionExtraction", "1.0")]
5  [PluginFile("HeuristicLab.Algorithms.DataAnalysis.FastFunctionExtraction.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  //
[17762]13  [PluginDependency("HeuristicLab.Algorithms.DataAnalysis", "3.4")]
14  [PluginDependency("HeuristicLab.Algorithms.DataAnalysis.Glmnet", "3.4")]
15  [PluginDependency("HeuristicLab.Analysis", "3.3")]
[17218]16  [PluginDependency("HeuristicLab.Collections", "3.3")]
17  [PluginDependency("HeuristicLab.Common", "3.3")]
18  [PluginDependency("HeuristicLab.Core", "3.3")]
19  [PluginDependency("HeuristicLab.Data", "3.3")]
[17762]20  [PluginDependency("HeuristicLab.Encodings.SymbolicExpressionTreeEncoding", "3.4")]
[17218]21  [PluginDependency("HeuristicLab.Optimization", "3.3")]
22  [PluginDependency("HeuristicLab.Parameters", "3.3")]
23  [PluginDependency("HeuristicLab.Persistence", "3.3")]
[17762]24  [PluginDependency("HeuristicLab.Problems.DataAnalysis", "3.4")]
25  [PluginDependency("HeuristicLab.Problems.DataAnalysis.Symbolic", "3.4")]
26  [PluginDependency("HeuristicLab.Problems.DataAnalysis.Symbolic.Regression", "3.4")]
27  [PluginDependency("HeuristicLab.Problems.Instances", "3.3")]
[17218]28  [PluginDependency("HeuristicLab.Random", "3.3")]
29
30  // HL plugin infrastructure discovers plugins on startup by trying to load all .dll and .exe files and looking for
31  // classes deriving from PluginBase. The meta-information for the plugin class is specified in the attributes
32  // above, and used by plugin infrastructure primarily for plugin dependency resolution.
33
34  // Steps:
35  // (1) Check out HL source code (e.g. the trunk version)
36  // (2) Build external libraries HeuristicLab.ExtLibs.sln using the Build.cmd (in the path of the HL source code)
37  // (3) Build HeuristicLab 3.3.sln using the Build.cmd
38  // (4) Build this project. The output path for binaries is set to "".
39  //     this assumes you have the following folder structure
40  //    <ROOT>
41  //    |..hl
42  //       |..branches
43  //       |  |..Templates
44  //       |     |..EmptyPlugin
45  //       |..trunk
46  //          |.. bin
47
48  //  (5) Check that the output file has been added to the HL binaries folder (hl/trunk/bin/EmptyPlugin.dll)
49  //  (6) Start hl/trunk/bin/HeuristicLab.exe and open the "Plugin Manager".
50  //      Make sure your EmptyPlugin appears in the list of loaded plugins
51  public class Plugin : PluginBase {
52  }
53}
Note: See TracBrowser for help on using the repository browser.