Changeset 16315 for branches/2929_PrioritizedGrammarEnumeration/HeuristicLab.Algorithms.DataAnalysis.PGE/3.3/Plugin.cs
- Timestamp:
- 11/21/18 18:17:18 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2929_PrioritizedGrammarEnumeration/HeuristicLab.Algorithms.DataAnalysis.PGE/3.3/Plugin.cs
r15991 r16315 3 3 namespace HeuristicLab.Algorithms.DataAnalysis.PGE { 4 4 [Plugin("HeuristicLab.Algorithms.DataAnalysis.PGE", "3.3")] 5 [PluginFile("HeuristicLab.Algorithms.DataAnalysis.PGE-3.3.dll", PluginFileType.Assembly)] // each plugin represents a collection of files. The minimum is one file; the assembly. 5 [PluginFile("HeuristicLab.Algorithms.DataAnalysis.PGE-3.3.dll", PluginFileType.Assembly)] 6 [PluginFile("go-pge.dll", PluginFileType.NativeDll)] 6 7 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 // 8 [PluginDependency("HeuristicLab.Analysis", "3.3")] 13 9 [PluginDependency("HeuristicLab.Collections", "3.3")] 14 10 [PluginDependency("HeuristicLab.Common", "3.3")] … … 20 16 [PluginDependency("HeuristicLab.Persistence", "3.3")] 21 17 [PluginDependency("HeuristicLab.Problems.DataAnalysis", "3.4")] 18 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Symbolic", "3.4")] 22 19 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Symbolic.Regression", "3.4")] 20 [PluginDependency("HeuristicLab.Problems.Instances", "3.3")] 23 21 [PluginDependency("HeuristicLab.Random", "3.3")] 24 22 25 // HL plugin infrastructure discovers plugins on startup by trying to load all .dll and .exe files and looking for26 // classes deriving from PluginBase. The meta-information for the plugin class is specified in the attributes27 // above and used by plugin infrastructure primarily for plugin dependency resolution.28 29 // Steps:30 // (1) Check out HL source code (e.g. the trunk version)31 // (2) Build external libraries HeuristicLab.ExtLibs.sln using the Build.cmd (in the path of the HL source code)32 // (3) Build HeuristicLab 3.3.sln using the Build.cmd33 // (4) Check that the output file has been added to the HL binaries folder (hl/bin/HeuristicLab.Algorithms.DataAnalysis.PGE-3.3.dll)34 // (5) Start hl/bin/HeuristicLab.exe and open the "Plugin Manager".35 // Make sure your EmptyPlugin appears in the list of loaded plugins36 23 public class Plugin : PluginBase { 37 24 }
Note: See TracChangeset
for help on using the changeset viewer.