Changeset 9226
- Timestamp:
- 02/18/13 16:51:42 (12 years ago)
- Location:
- branches/LearningClassifierSystems
- Files:
-
- 24 added
- 2 deleted
- 27 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LearningClassifierSystems
- Property svn:ignore
-
old new 1 1 *.suo 2 bin
-
- Property svn:ignore
-
branches/LearningClassifierSystems/HeuristicLab.Algorithms.LearningClassifierSystems/3.3/LCSAdaptedGeneticAlgorithm.cs
r9167 r9226 95 95 } 96 96 #endregion 97 98 private CheckGASubsumptionOperator checkGASubsumptionOperator; 97 99 98 100 [StorableConstructor] … … 155 157 Assigner setSubsumpByAssigner = new Assigner(); 156 158 Assigner setSubsumptionFalseAssigner = new Assigner(); 157 CheckGASubsumptionOperatorcheckGASubsumptionOperator = new CheckGASubsumptionOperator();159 checkGASubsumptionOperator = new CheckGASubsumptionOperator(); 158 160 ConditionalBranch doGASubsumptionBranch2 = new ConditionalBranch(); 159 161 ExecuteGASubsumptionOperator executeGAsubsumptionOperator = new ExecuteGASubsumptionOperator(); … … 199 201 doGASubsumptionBranch1.ConditionParameter.ActualName = DoGASubsumptionParameter.ActualName; 200 202 201 checkGASubsumptionOperator.ChildClassifiersParameter.ActualName = "CombinedIntegerVector";202 checkGASubsumptionOperator.ParentsClassifiersParameter.ActualName = "CombinedIntegerVector";203 203 checkGASubsumptionOperator.NumerositiesParameter.ActualName = "Numerosity"; 204 204 checkGASubsumptionOperator.ExperiencesParameter.ActualName = "Experience"; … … 283 283 return base.Apply(); 284 284 } 285 286 public void SetChildName(string childName) { 287 checkGASubsumptionOperator.ChildClassifiersParameter.ActualName = childName; 288 checkGASubsumptionOperator.ParentsClassifiersParameter.ActualName = childName; 289 } 285 290 } 286 291 } -
branches/LearningClassifierSystems/HeuristicLab.Algorithms.LearningClassifierSystems/3.3/LearningClassifierSystemMainLoop.cs
r9204 r9226 79 79 private CoveringOperator covering; 80 80 private CountNumberOfUniqueActions countNumberOfUniqueActions; 81 private MatchActionOperator matchActionOperator; 82 private InsertInPopulationOperator insertInPopulation; 81 83 82 84 private LCSAdaptedGeneticAlgorithm adaptedGeneticAlgorithmMainLoop; … … 130 132 actionSelector = new ActionSelector(); 131 133 UniformSubScopesProcessor matchActionSubScopesProcessor = new UniformSubScopesProcessor(); 132 MatchActionOperatormatchActionOperator = new MatchActionOperator();134 matchActionOperator = new MatchActionOperator(); 133 135 ConditionalSelector conditionMatchSelector = new ConditionalSelector(); 134 136 ConditionalSelector actionMatchSelector = new ConditionalSelector(); … … 165 167 UniformSubScopesProcessor setDeletionFalseSubScopeProcessor2 = new UniformSubScopesProcessor(); 166 168 Assigner setDeletionFalseAssigner = new Assigner(); 167 InsertInPopulationOperatorinsertInPopulation = new InsertInPopulationOperator();169 insertInPopulation = new InsertInPopulationOperator(); 168 170 XCSDeletionOperator deletionOperatorAfterGA = new XCSDeletionOperator(); 169 171 ConditionalSelector deletionSelectorAfterGA = new ConditionalSelector(); … … 205 207 iterationCounter.IncrementParameter.ActualName = "OneIntValue"; 206 208 207 matchConditionOperator.MatchParameter.ActualName = "CombinedIntegerVector";208 209 209 conditionMatchSelector.CopySelected = new BoolValue(false); 210 210 conditionMatchSelector.ConditionParameter.ActualName = matchConditionOperator.MatchConditionParameter.ActualName; 211 211 212 countNumberOfUniqueActions.ClassifiersParameter.ActualName = "CombinedIntegerVector";213 214 doDeletionBeforeCovering.ClassifiersParameter.ActualName = "CombinedIntegerVector";215 212 doDeletionBeforeCovering.MatchConditionParameter.ActualName = matchConditionOperator.MatchConditionParameter.ActualName; 216 213 doDeletionBeforeCovering.CurrentPopulationSizeParameter.ActualName = "CurrentPopulationSize"; … … 242 239 matchActionSubScopesProcessor.Operator = matchActionOperator; 243 240 244 matchActionOperator.MatchParameter.ActualName = "CombinedIntegerVector";245 241 matchActionOperator.TargetMatchParameter.ActualName = actionSelector.SelectedActionParameter.ActualName; 246 247 predictionArrayCalculator.MatchParameter.ActualName = "CombinedIntegerVector";248 242 249 243 actionSelector.PredictionArrayParameter.ActualName = predictionArrayCalculator.PredictionArrayParameter.Name; … … 321 315 currentPopulationSizeCounter.Increment = new IntValue(2); 322 316 323 insertInPopulation.ClassifiersParameter.ActualName = "CombinedIntegerVector";324 317 insertInPopulation.NumerositiesParameter.ActualName = "Numerosity"; 325 318 insertInPopulation.HasToBeDeletedParameter.ActualName = HASTOBEDELETED; … … 462 455 463 456 countNumberOfUniqueActions.ClassifierComparerParameter.ActualName = problem.ClassifierComparerParameter.Name; 457 458 matchConditionOperator.MatchParameter.ActualName = problem.ChildName; 459 countNumberOfUniqueActions.ClassifiersParameter.ActualName = problem.ChildName; 460 doDeletionBeforeCovering.ClassifiersParameter.ActualName = problem.ChildName; 461 matchActionOperator.MatchParameter.ActualName = problem.ChildName; 462 predictionArrayCalculator.MatchParameter.ActualName = problem.ChildName; 463 insertInPopulation.ClassifiersParameter.ActualName = problem.ChildName; 464 465 adaptedGeneticAlgorithmMainLoop.SetChildName(problem.ChildName); 464 466 } 465 467 //private void ParameterizeSelectors() { -
branches/LearningClassifierSystems/HeuristicLab.Encodings.CombinedIntegerVectorEncoding/3.3/CombinedIntegerVector.cs
r9194 r9226 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Linq; 25 24 using System.Text; … … 264 263 return true; 265 264 } 266 267 public override bool Equals(object obj) {268 return base.Equals(obj);269 }270 271 public override int GetHashCode() {272 return base.GetHashCode();273 }274 275 [StorableClass]276 [Item("CombinedIntegerVectorComparer", "")]277 public class CombinedIntegerVectorComparer : Item, IEqualityComparer<CombinedIntegerVector>, IClassifierComparer {278 279 [StorableConstructor]280 protected CombinedIntegerVectorComparer(bool deserializing) : base(deserializing) { }281 protected CombinedIntegerVectorComparer(CombinedIntegerVectorComparer original, Cloner cloner)282 : base(original, cloner) {283 }284 public override IDeepCloneable Clone(Cloner cloner) {285 return new CombinedIntegerVectorComparer(this, cloner);286 }287 public CombinedIntegerVectorComparer() : base() { }288 289 public bool Equals(CombinedIntegerVector x, CombinedIntegerVector y) {290 for (int i = 0; i < x.array.Length; i++) {291 if (!x.array[i].Equals(y.array[i])) {292 return false;293 }294 }295 return true;296 }297 298 public int GetHashCode(CombinedIntegerVector obj) {299 int result = obj.actionLength;300 for (int i = 0; i < obj.array.Length; i++) {301 result ^= obj.array[i];302 }303 return result.GetHashCode();304 }305 306 public bool Equals(IAction x, IAction y) {307 var xCast = x as CombinedIntegerVector;308 var yCast = y as CombinedIntegerVector;309 return x != null && y != null && Equals(xCast, yCast);310 }311 312 public int GetHashCode(IAction obj) {313 var objCast = obj as CombinedIntegerVector;314 return objCast != null ? GetHashCode(objCast) : obj.GetHashCode();315 }316 }317 265 } 318 266 } -
branches/LearningClassifierSystems/HeuristicLab.Encodings.CombinedIntegerVectorEncoding/3.3/HeuristicLab.Encodings.CombinedIntegerVectorEncoding-3.3.csproj
r9194 r9226 121 121 <ItemGroup> 122 122 <Compile Include="CombinedIntegerVector.cs" /> 123 <Compile Include="CombinedIntegerVectorComparer.cs" /> 123 124 <Compile Include="CombinedIntegerVectorCreator.cs" /> 124 125 <Compile Include="CombinedIntegerVectorCrossover.cs" /> -
branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding/3.3/Interfaces/IConditionActionProblem.cs
r9204 r9226 25 25 namespace HeuristicLab.Encodings.ConditionActionEncoding { 26 26 public interface IConditionActionProblem : IHeuristicOptimizationProblem { 27 string ChildName { get; } 28 27 29 IParameter ProblemDataParameter { get; } 28 30 IConditionActionProblemData ProblemData { get; } … … 33 35 IParameter ThetaMinimalNumberOfActionsParameter { get; } 34 36 35 IParameter PossibleActionsConcreteClassParameter { get; }36 37 IParameter PossibleActionsParameter { get; } 37 38 -
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/Covering/VariableVectorCoveringCreator.cs
r9204 r9226 29 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 30 31 namespace HeuristicLab.Encodings.VariableVector .Covering{31 namespace HeuristicLab.Encodings.VariableVector { 32 32 [Item("VariableVectorCoveringCreator", "Description missing")] 33 33 [StorableClass] … … 63 63 private IEnumerable<IVariable> CoverInput(VariableVectorInput input, VariableVectorCondition sample, IRandom random, double changeSymbolProbability) { 64 64 var conditionVariables = new List<IVariable>(); 65 if (! input.Order.SequenceEqual(sample.Order)) {66 throw new ArgumentException(" Sample and input do not contain the same variable names");65 if (!sample.Keys.All(x => input.ContainsKey(x))) { 66 throw new ArgumentException("Input does not contain all variable names from sample"); 67 67 } 68 68 foreach (var keyValuePair in sample) { 69 69 IVariable variable = keyValuePair.Value.GetEmptyCopy(); 70 variable.Cover(random, input[keyValuePair.Key] .Value, changeSymbolProbability);70 variable.Cover(random, input[keyValuePair.Key], changeSymbolProbability); 71 71 conditionVariables.Add(variable); 72 72 } -
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/Creators/UniformRandomVariableVectorCreator.cs
r9194 r9226 20 20 #endregion 21 21 22 using System.Linq;23 22 using HeuristicLab.Common; 24 23 using HeuristicLab.Core; 25 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 25 27 namespace HeuristicLab.Encodings.VariableVector .Creators{26 namespace HeuristicLab.Encodings.VariableVector { 28 27 [Item("UniformRandomVariableVectorCreator", "Description missing")] 29 28 [StorableClass] … … 46 45 47 46 protected override VariableVector Create(IRandom random, VariableVector sampleVariableVector, double spreadPercentage) { 48 var result = new VariableVector(sampleVariableVector.Condition.Values.Select(x => x.GetEmptyCopy()), sampleVariableVector.Action.Values.Select(x => x.GetEmptyCopy()));47 var result = sampleVariableVector.GetEmptyCopy(); 49 48 result.Randomize(random, spreadPercentage); 50 49 return result; -
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/Crossover/SinglePointCrossover.cs
r9204 r9226 27 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 28 29 namespace HeuristicLab.Encodings.VariableVector .Crossover{29 namespace HeuristicLab.Encodings.VariableVector { 30 30 [Item("SinglePointCrossover", "Description missing")] 31 31 [StorableClass] -
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/HeuristicLab.Encodings.VariableVector-3.3.csproj
r9204 r9226 44 44 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Common-3.3.dll</HintPath> 45 45 </Reference> 46 <Reference Include="HeuristicLab.Common.Resources-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 46 47 <Reference Include="HeuristicLab.Data-3.3"> 47 48 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Data-3.3.dll</HintPath> … … 64 65 <Reference Include="System" /> 65 66 <Reference Include="System.Core" /> 67 <Reference Include="System.Drawing" /> 66 68 <Reference Include="System.Xml.Linq" /> 67 69 <Reference Include="System.Data.DataSetExtensions" /> … … 79 81 <Compile Include="Manipulator\UniformOnePositionInConditionManipulator.cs" /> 80 82 <Compile Include="Manipulator\UniformSomePositionManipulator.cs" /> 83 <Compile Include="VariableVectorActionComparer.cs" /> 81 84 <Compile Include="VariableVectorCrossover.cs" /> 82 85 <Compile Include="VariableVectorManipulator.cs" /> -
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/Manipulator/UniformOnePositionInConditionManipulator.cs
r9204 r9226 56 56 var keyEnumerator = condition.Order.GetEnumerator(); 57 57 int count = 0; 58 while (keyEnumerator.MoveNext() && count < condition.VirtualLength59 && count < index && count + condition[keyEnumerator.Current].VirtualLength <index) {58 keyEnumerator.MoveNext(); 59 while (count < condition.VirtualLength && count < index && count + condition[keyEnumerator.Current].VirtualLength <= index) { 60 60 count += condition[keyEnumerator.Current].VirtualLength; 61 keyEnumerator.MoveNext(); 61 62 } 62 condition[keyEnumerator.Current].Manipulate(random, input[keyEnumerator.Current] .Value, index - count - 1);63 condition[keyEnumerator.Current].Manipulate(random, input[keyEnumerator.Current], index - count); 63 64 return child; 64 65 } -
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/Plugin.cs
r9204 r9226 23 23 24 24 namespace HeuristicLab.Encodings.VariableVector { 25 [Plugin("HeuristicLab.Encodings.VariableVector", "3.3.7.9 194")]25 [Plugin("HeuristicLab.Encodings.VariableVector", "3.3.7.9204")] 26 26 [PluginFile("HeuristicLab.Encodings.VariableVector-3.3.dll", PluginFileType.Assembly)] 27 27 [PluginDependency("HeuristicLab.Common.Resources", "3.3")] -
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/Properties/AssemblyInfo.cs
r9204 r9226 55 55 // [assembly: AssemblyVersion("1.0.*")] 56 56 [assembly: AssemblyVersion("3.3.0.0")] 57 [assembly: AssemblyFileVersion("3.3.7.9 194")]57 [assembly: AssemblyFileVersion("3.3.7.9204")] -
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/Variable/DoubleVariable.cs
r9204 r9226 100 100 } 101 101 102 public new DoubleVariable GetEmptyCopy() {102 public override IVariable GetEmptyCopy() { 103 103 return new DoubleVariable(variableName, min, max); 104 104 } 105 public new DoubleVariable GetSetCopy() {106 DoubleVariable copy = GetEmptyCopy();105 public override IVariable GetSetCopy() { 106 DoubleVariable copy = (DoubleVariable)GetEmptyCopy(); 107 107 copy.CurrentCenter = this.CurrentCenter; 108 108 copy.CurrentSpread = this.CurrentSpread; … … 153 153 if (parent2Cast == null) { throw new ArgumentException("Argument is not of the correct type."); } 154 154 if (pos > 1 || pos < 0) { throw new ArgumentOutOfRangeException(); } 155 DoubleVariable crossed = this.GetSetCopy();155 DoubleVariable crossed = (DoubleVariable)this.GetSetCopy(); 156 156 if (pos == 0) { 157 157 crossed.CurrentSpread = parent2Cast.CurrentSpread; -
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/Variable/IActionVariable.cs
r9194 r9226 20 20 #endregion 21 21 22 using System.Collections.Generic; 22 23 23 24 namespace HeuristicLab.Encodings.VariableVector { 24 25 // variables which can be used in the action 25 26 public interface IActionVariable : IVariable { 27 new IActionVariable GetEmptyCopy(); 28 new IActionVariable GetSetCopy(); 29 30 void SetTo(string value); 31 IEnumerable<string> GetAllPossibleActions(); 26 32 } 27 33 } -
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/Variable/IVariable.cs
r9204 r9226 31 31 IVariable GetEmptyCopy(); 32 32 IVariable GetSetCopy(); 33 33 34 void Randomize(IRandom random); 34 35 bool MatchInput(string target); -
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/Variable/IntVariable.cs
r9204 r9226 63 63 this.possibleFeatures = new List<int>(original.possibleFeatures); 64 64 this.Wildcard = original.Wildcard; 65 this.currentValue = original.currentValue; 65 66 } 66 67 public IntVariable() … … 70 71 public IntVariable(string variableName, IEnumerable<int> variableValues) 71 72 : base(variableName) { 72 if (variableValues.Count() != variableValues.Distinct().Count()) {73 throw new ArgumentException("variableValues have to be distinct .");73 if (variableValues.Count() > 0 && variableValues.Count() != variableValues.Distinct().Count()) { 74 throw new ArgumentException("variableValues have to be distinct and there has to be at least one value."); 74 75 } 75 76 possibleFeatures = variableValues; 76 77 Wildcard = false; 78 currentValue = possibleFeatures.First(); 77 79 } 78 80 public IntVariable(string variableName, IEnumerable<int> variableValues, int currentValue) … … 102 104 } 103 105 104 public new IntVariable GetEmptyCopy() {106 public override IVariable GetEmptyCopy() { 105 107 return new IntVariable(variableName, possibleFeatures); 106 108 } 107 public new IntVariable GetSetCopy() { 108 IntVariable copy = GetEmptyCopy(); 109 110 public override IVariable GetSetCopy() { 111 IntVariable copy = (IntVariable)GetEmptyCopy(); 109 112 copy.Wildcard = this.Wildcard; 110 113 copy.CurrentValue = this.CurrentValue; 111 114 return copy; 115 } 116 117 IActionVariable IActionVariable.GetEmptyCopy() { 118 return (IntVariable)GetEmptyCopy(); 119 } 120 IActionVariable IActionVariable.GetSetCopy() { 121 return (IntVariable)GetSetCopy(); 112 122 } 113 123 … … 143 153 if (parent2Cast == null) { throw new ArgumentException("Argument is not of the correct type."); } 144 154 if (pos != 0) { throw new ArgumentOutOfRangeException(); } 145 return this.GetSetCopy();155 return (IntVariable)this.GetSetCopy(); 146 156 } 147 157 … … 160 170 } 161 171 } 172 173 public override int GetHashCode() { 174 int result = 1; 175 int wildcardInt = Wildcard ? 1 : 0; 176 result = 37 * result + wildcardInt; 177 result = 37 * result + currentValue; 178 foreach (var feature in possibleFeatures) { 179 result = 37 * result + feature; 180 } 181 return result; 182 } 183 184 #region IActionVariable Members 185 public void SetTo(string value) { 186 currentValue = int.Parse(value); 187 } 188 189 public IEnumerable<string> GetAllPossibleActions() { 190 return possibleFeatures.Select(x => x.ToString()); 191 } 192 #endregion 162 193 } 163 194 } -
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/Variable/StringVariable.cs
r9204 r9226 74 74 this.featureMapping = new Dictionary<int, string>(original.featureMapping); 75 75 this.Wildcard = original.Wildcard; 76 this.currentValue = original.currentValue; 76 77 } 77 78 public StringVariable() … … 150 151 } 151 152 152 public new StringVariable GetEmptyCopy() {153 public override IVariable GetEmptyCopy() { 153 154 return new StringVariable(variableName, featureMapping); 154 155 } 155 public new StringVariable GetSetCopy() {156 StringVariable copy = GetEmptyCopy();156 public override IVariable GetSetCopy() { 157 StringVariable copy = (StringVariable)GetEmptyCopy(); 157 158 copy.Wildcard = this.Wildcard; 158 159 copy.CurrentValue = this.CurrentValue; 159 160 return copy; 161 } 162 IActionVariable IActionVariable.GetEmptyCopy() { 163 return (StringVariable)GetEmptyCopy(); 164 } 165 IActionVariable IActionVariable.GetSetCopy() { 166 return (StringVariable)GetSetCopy(); 160 167 } 161 168 … … 195 202 if (parent2Cast == null) { throw new ArgumentException("Argument is not of the correct type."); } 196 203 if (pos != 0) { throw new ArgumentOutOfRangeException(); } 197 return this.GetSetCopy();204 return (StringVariable)this.GetSetCopy(); 198 205 } 199 206 … … 202 209 Wildcard = !Wildcard; 203 210 if (!Wildcard) { 204 int newValue = featureMapping.First(x => x.Value.Equals(stringValue)).Key; 205 currentValue = newValue; 211 currentValue = featureMapping.First(x => x.Value.Equals(stringValue)).Key; 206 212 } 207 213 } … … 210 216 Wildcard = random.NextDouble() < changeSymbolProbability; 211 217 if (!Wildcard) { 212 int newValue = featureMapping.First(x => x.Value.Equals(stringValue)).Key; 213 currentValue = newValue; 214 } 215 } 218 currentValue = featureMapping.First(x => x.Value.Equals(stringValue)).Key; 219 } 220 } 221 222 public override int GetHashCode() { 223 int result = 1; 224 int wildcardInt = Wildcard ? 1 : 0; 225 result = 37 * result + wildcardInt; 226 result = 37 * result + currentValue; 227 foreach (var feature in featureMapping) { 228 result = 37 * result + feature.Key; 229 result = 37 * result + feature.Value.GetHashCode(); 230 } 231 return result; 232 } 233 234 #region IActionVariable Members 235 public void SetTo(string value) { 236 currentValue = featureMapping.First(x => x.Value.Equals(value)).Key; 237 } 238 239 public IEnumerable<string> GetAllPossibleActions() { 240 return featureMapping.Values; 241 } 242 #endregion 216 243 } 217 244 } -
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/Variable/Variable.cs
r9204 r9226 52 52 } 53 53 54 public virtual IVariable GetEmptyCopy() { throw new NotSupportedException("This method is not supported. It should be implemented by every non abstract class."); }55 public virtual IVariable GetSetCopy() { throw new NotSupportedException("This method is not supported. It should be implemented by every non abstract class."); }54 public abstract IVariable GetEmptyCopy(); 55 public abstract IVariable GetSetCopy(); 56 56 57 57 public abstract void Randomize(IRandom random); -
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/VariableVector.cs
r9204 r9226 54 54 protected VariableVector(VariableVector original, Cloner cloner) 55 55 : base(original, cloner) { 56 condition = new VariableVectorCondition(original.condition);57 action = new VariableVectorAction(original.action);56 condition = (VariableVectorCondition)original.condition.Clone(); 57 action = (VariableVectorAction)original.action; 58 58 } 59 59 public VariableVector() { … … 64 64 : this() { 65 65 if (condition == null || action == null) { throw new ArgumentNullException(); } 66 if ( action.All(x => x is IActionVariable)) { throw new ArgumentException("Action can only use IActionVariable"); }66 if (!action.All(x => x is IActionVariable)) { throw new ArgumentException("Action can only use IActionVariable"); } 67 67 this.Condition.Add(condition); 68 68 this.Action.Add(action.Cast<IActionVariable>()); … … 70 70 public override IDeepCloneable Clone(Cloner cloner) { 71 71 return new VariableVector(this, cloner); 72 } 73 74 public VariableVector GetEmptyCopy() { 75 return new VariableVector(Condition.Values.Select(x => x.GetEmptyCopy()), Action.Values.Select(x => x.GetEmptyCopy())); 72 76 } 73 77 … … 128 132 var targetCast = target as VariableVector; 129 133 if (targetCast == null) { return false; } 130 if (!condition.Identical(targetCast. condition)) { return false; }131 if (!action.Identical(targetCast. condition)) { return false; }134 if (!condition.Identical(targetCast.Condition)) { return false; } 135 if (!action.Identical(targetCast.Action)) { return false; } 132 136 return true; 133 }134 135 [StorableClass]136 [Item("VariableVectorActionComparer", "")]137 public class VariableVectorActionComparer : Item, IEqualityComparer<VariableVectorAction>, IClassifierComparer {138 139 [StorableConstructor]140 protected VariableVectorActionComparer(bool deserializing) : base(deserializing) { }141 protected VariableVectorActionComparer(VariableVectorActionComparer original, Cloner cloner)142 : base(original, cloner) {143 }144 public override IDeepCloneable Clone(Cloner cloner) {145 return new VariableVectorActionComparer(this, cloner);146 }147 public VariableVectorActionComparer() : base() { }148 149 public bool Equals(VariableVectorAction x, VariableVectorAction y) {150 throw new NotImplementedException();151 }152 153 public int GetHashCode(VariableVectorAction obj) {154 throw new NotImplementedException();155 }156 157 public bool Equals(IAction x, IAction y) {158 var xCast = x as VariableVectorAction;159 var yCast = y as VariableVectorAction;160 return x != null && y != null && Equals(xCast, yCast);161 }162 163 public int GetHashCode(IAction obj) {164 var objCast = obj as VariableVectorAction;165 return objCast != null ? GetHashCode(objCast) : obj.GetHashCode();166 }167 137 } 168 138 } -
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/VariableVectorAction.cs
r9204 r9226 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Drawing; 24 25 using System.Linq; 25 26 using System.Text; 26 27 using HeuristicLab.Common; 27 28 using HeuristicLab.Core; 28 using HeuristicLab.Data;29 29 using HeuristicLab.Encodings.ConditionActionEncoding; 30 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 33 33 [StorableClass] 34 34 [Item("VariableVectorAction", "")] 35 public class VariableVectorAction : ItemDictionary<StringValue, IActionVariable>, IAction {35 public class VariableVectorAction : Dictionary<string, IActionVariable>, IAction { 36 36 37 public IOrderedEnumerable< StringValue> Order { get { return this.Keys.OrderBy(x => x.Value); } }37 public IOrderedEnumerable<string> Order { get { return this.Keys.OrderBy(x => x); } } 38 38 39 39 public int VirtualLength { get { return this.Values.Sum(x => x.VirtualLength); } } 40 40 41 41 [StorableConstructor] 42 protected VariableVectorAction(bool deserializing) : base(deserializing) { } 43 protected VariableVectorAction(VariableVectorAction original, Cloner cloner) 44 : base(original, cloner) { 42 protected VariableVectorAction(bool deserializing) { } 43 protected VariableVectorAction(VariableVectorAction original, Cloner cloner) { 44 foreach (var item in original) { 45 Add((string)item.Key.Clone(), (IActionVariable)item.Value.Clone()); 46 } 45 47 } 46 48 public VariableVectorAction() : base() { } 47 49 public VariableVectorAction(int capacity) : base(capacity) { } 48 public VariableVectorAction(IDictionary<StringValue, IActionVariable> dictionary) : base(dictionary) { } 49 public override IDeepCloneable Clone(Cloner cloner) { 50 return new VariableVectorAction(this, cloner); 50 public VariableVectorAction(IDictionary<string, IActionVariable> dictionary) : base(dictionary) { } 51 52 //protected override void OnItemsAdded(IEnumerable<KeyValuePair<string, IActionVariable>> items) { 53 // foreach (var item in items) { 54 // if (!(item.Value is StringVariable || item.Value is IntVariable)) { 55 // throw new ArgumentException("Value has to be of type 'StringVariable' or 'IntVariable'"); 56 // } 57 // } 58 //} 59 60 public VariableVectorAction GetEmptyCopy() { 61 VariableVectorAction emptyCopy = new VariableVectorAction(this.Count); 62 foreach (var keyValuePair in this) { 63 emptyCopy.Add(keyValuePair.Key, keyValuePair.Value.GetEmptyCopy()); 64 } 65 return emptyCopy; 51 66 } 52 67 53 protected override void OnItemsAdded(IEnumerable<KeyValuePair<StringValue, IActionVariable>> items) { 54 foreach (var item in items) { 55 if (!(item.Value is StringVariable || item.Value is IntVariable)) { 56 throw new ArgumentException("Value has to be of type 'StringVariable' or 'IntVariable'"); 57 } 68 public VariableVectorAction GetSetCopy() { 69 VariableVectorAction setCopy = new VariableVectorAction(this.Count); 70 foreach (var keyValuePair in this) { 71 setCopy.Add(keyValuePair.Key, keyValuePair.Value.GetSetCopy()); 58 72 } 59 base.OnItemsAdded(items);73 return setCopy; 60 74 } 61 75 … … 63 77 var targetCast = target as VariableVectorAction; 64 78 if (targetCast == null) { return false; } 65 if ( this.Order.SequenceEqual(targetCast.Order)) { return false; }79 if (!this.Order.SequenceEqual(targetCast.Order)) { return false; } 66 80 foreach (var keyValuePair in targetCast) { 67 81 if (!this[keyValuePair.Key].MatchVariable(keyValuePair.Value)) { … … 74 88 public void Add(IEnumerable<IActionVariable> action) { 75 89 foreach (var variable in action) { 76 this.Add( new StringValue(variable.VariableName), variable);90 this.Add(variable.VariableName, variable); 77 91 } 78 92 } … … 82 96 bool first = true; 83 97 foreach (var variable in this.Values) { 84 if ( !first) {98 if (first) { 85 99 first = false; 86 100 } else { … … 98 112 } 99 113 100 public bool Identical(VariableVector Condition target) {114 public bool Identical(VariableVectorAction target) { 101 115 if (this.Order.SequenceEqual(target.Order)) { return false; } 102 116 foreach (var keyValuePair in target) { … … 107 121 return true; 108 122 } 123 124 public virtual string ItemName { 125 get { return ItemAttribute.GetName(this.GetType()); } 126 } 127 public virtual string ItemDescription { 128 get { return ItemAttribute.GetDescription(this.GetType()); } 129 } 130 public Version ItemVersion { 131 get { return ItemAttribute.GetVersion(this.GetType()); } 132 } 133 public static Image StaticItemImage { 134 get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; } 135 } 136 public virtual Image ItemImage { 137 get { return ItemAttribute.GetImage(this.GetType()); } 138 } 139 140 public virtual IDeepCloneable Clone(Cloner cloner) { 141 return new VariableVectorAction(this, cloner); 142 } 143 144 public object Clone() { 145 return Clone(new Cloner()); 146 } 147 148 public event EventHandler ItemImageChanged; 149 protected virtual void OnItemImageChanged() { 150 EventHandler handler = ItemImageChanged; 151 if (handler != null) handler(this, EventArgs.Empty); 152 } 153 public event EventHandler ToStringChanged; 154 protected virtual void OnToStringChanged() { 155 EventHandler handler = ToStringChanged; 156 if (handler != null) handler(this, EventArgs.Empty); 157 } 109 158 } 110 159 } -
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/VariableVectorCondition.cs
r9204 r9226 20 20 #endregion 21 21 22 using System; 22 23 using System.Collections.Generic; 24 using System.Drawing; 23 25 using System.Linq; 24 26 using System.Text; 25 27 using HeuristicLab.Common; 26 28 using HeuristicLab.Core; 27 using HeuristicLab.Data;28 29 using HeuristicLab.Encodings.ConditionActionEncoding; 29 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 32 33 [StorableClass] 33 34 [Item("VariableVectorCondition", "")] 34 public class VariableVectorCondition : ItemDictionary<StringValue, IVariable>, ICondition {35 public class VariableVectorCondition : Dictionary<string, IVariable>, ICondition { 35 36 36 public IOrderedEnumerable< StringValue> Order { get { return this.Keys.OrderBy(x => x.Value); } }37 public IOrderedEnumerable<string> Order { get { return this.Keys.OrderBy(x => x); } } 37 38 38 39 public int VirtualLength { get { return this.Values.Sum(x => x.VirtualLength); } } 39 40 40 41 [StorableConstructor] 41 protected VariableVectorCondition(bool deserializing) : base(deserializing) { } 42 protected VariableVectorCondition(VariableVectorCondition original, Cloner cloner) 43 : base(original, cloner) { 42 protected VariableVectorCondition(bool deserializing) { } 43 protected VariableVectorCondition(VariableVectorCondition original, Cloner cloner) { 44 foreach (var item in original) { 45 Add((string)item.Key.Clone(), (IVariable)item.Value.Clone()); 46 } 44 47 } 45 48 public VariableVectorCondition() : base() { } 46 49 public VariableVectorCondition(int capacity) : base(capacity) { } 47 public VariableVectorCondition(IDictionary<StringValue, IVariable> dictionary) : base(dictionary) { } 48 public override IDeepCloneable Clone(Cloner cloner) { 49 return new VariableVectorCondition(this, cloner); 50 } 50 public VariableVectorCondition(IDictionary<string, IVariable> dictionary) : base(dictionary) { } 51 51 52 52 public bool Match(IInput target) { 53 53 var targetCast = target as VariableVectorInput; 54 54 if (targetCast == null) { return false; } 55 if ( this.Order.SequenceEqual(targetCast.Order)) { return false; }56 foreach (var key ValuePair in targetCast) {57 if (!this[key ValuePair.Key].MatchInput(keyValuePair.Value.Value)) {55 if (!this.Keys.All(x => targetCast.Keys.Contains(x))) { return false; } 56 foreach (var key in this.Keys) { 57 if (!this[key].MatchInput(targetCast[key])) { 58 58 return false; 59 59 } … … 64 64 public void Add(IEnumerable<IVariable> condition) { 65 65 foreach (var variable in condition) { 66 this.Add( new StringValue(variable.VariableName), variable);66 this.Add(variable.VariableName, variable); 67 67 } 68 68 } … … 72 72 bool first = true; 73 73 foreach (var variable in this.Values) { 74 if ( !first) {74 if (first) { 75 75 first = false; 76 76 } else { … … 93 93 94 94 public bool Identical(VariableVectorCondition target) { 95 if ( this.Order.SequenceEqual(target.Order)) { return false; }95 if (!this.Order.SequenceEqual(target.Order)) { return false; } 96 96 foreach (var keyValuePair in target) { 97 97 if (!this[keyValuePair.Key].Identical(keyValuePair.Value)) { … … 101 101 return true; 102 102 } 103 104 public virtual string ItemName { 105 get { return ItemAttribute.GetName(this.GetType()); } 106 } 107 public virtual string ItemDescription { 108 get { return ItemAttribute.GetDescription(this.GetType()); } 109 } 110 public Version ItemVersion { 111 get { return ItemAttribute.GetVersion(this.GetType()); } 112 } 113 public static Image StaticItemImage { 114 get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; } 115 } 116 public virtual Image ItemImage { 117 get { return ItemAttribute.GetImage(this.GetType()); } 118 } 119 120 public virtual IDeepCloneable Clone(Cloner cloner) { 121 return new VariableVectorCondition(this, cloner); 122 } 123 124 public object Clone() { 125 return Clone(new Cloner()); 126 } 127 128 public event EventHandler ItemImageChanged; 129 protected virtual void OnItemImageChanged() { 130 EventHandler handler = ItemImageChanged; 131 if (handler != null) handler(this, EventArgs.Empty); 132 } 133 public event EventHandler ToStringChanged; 134 protected virtual void OnToStringChanged() { 135 EventHandler handler = ToStringChanged; 136 if (handler != null) handler(this, EventArgs.Empty); 137 } 103 138 } 104 139 } -
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/VariableVectorInput.cs
r9204 r9226 20 20 #endregion 21 21 22 using System; 22 23 using System.Collections.Generic; 24 using System.Drawing; 23 25 using System.Linq; 26 using System.Text; 24 27 using HeuristicLab.Common; 25 28 using HeuristicLab.Core; 26 using HeuristicLab.Data;27 29 using HeuristicLab.Encodings.ConditionActionEncoding; 28 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 31 33 [StorableClass] 32 34 [Item("VariableVectorInput", "")] 33 public class VariableVectorInput : ItemDictionary<StringValue, StringValue>, IInput {35 public class VariableVectorInput : Dictionary<string, string>, IInput { 34 36 35 public IOrderedEnumerable< StringValue> Order { get { return this.Keys.OrderBy(x => x.Value); } }37 public IOrderedEnumerable<string> Order { get { return this.Keys.OrderBy(x => x); } } 36 38 37 39 [StorableConstructor] 38 protected VariableVectorInput(bool deserializing) : base(deserializing) { } 39 protected VariableVectorInput(VariableVectorInput original, Cloner cloner) 40 : base(original, cloner) { 40 protected VariableVectorInput(bool deserializing) { } 41 protected VariableVectorInput(VariableVectorInput original, Cloner cloner) { 42 foreach (var item in original) { 43 Add((string)item.Key.Clone(), (string)item.Value.Clone()); 44 } 41 45 } 42 46 public VariableVectorInput() : base() { } 43 47 public VariableVectorInput(int capacity) : base(capacity) { } 44 public VariableVectorInput(IDictionary<StringValue, StringValue> dictionary) : base(dictionary) { } 45 public override IDeepCloneable Clone(Cloner cloner) { 48 public VariableVectorInput(IDictionary<string, string> dictionary) : base(dictionary) { } 49 50 public override string ToString() { 51 StringBuilder sb = new StringBuilder(); 52 bool first = true; 53 foreach (var item in this) { 54 if (first) { 55 first = false; 56 } else { 57 sb.Append("; "); 58 } 59 sb.Append(String.Format("{0}: {1}", item.Key, item.Value)); 60 } 61 return sb.ToString(); 62 } 63 64 public virtual string ItemName { 65 get { return ItemAttribute.GetName(this.GetType()); } 66 } 67 public virtual string ItemDescription { 68 get { return ItemAttribute.GetDescription(this.GetType()); } 69 } 70 public Version ItemVersion { 71 get { return ItemAttribute.GetVersion(this.GetType()); } 72 } 73 public static Image StaticItemImage { 74 get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; } 75 } 76 public virtual Image ItemImage { 77 get { return ItemAttribute.GetImage(this.GetType()); } 78 } 79 80 public virtual IDeepCloneable Clone(Cloner cloner) { 46 81 return new VariableVectorInput(this, cloner); 82 } 83 84 public object Clone() { 85 return Clone(new Cloner()); 86 } 87 88 public event EventHandler ItemImageChanged; 89 protected virtual void OnItemImageChanged() { 90 EventHandler handler = ItemImageChanged; 91 if (handler != null) handler(this, EventArgs.Empty); 92 } 93 public event EventHandler ToStringChanged; 94 protected virtual void OnToStringChanged() { 95 EventHandler handler = ToStringChanged; 96 if (handler != null) handler(this, EventArgs.Empty); 47 97 } 48 98 } -
branches/LearningClassifierSystems/HeuristicLab.Problems.ConditionActionClassification/3.3/HeuristicLab.Problems.ConditionActionClassification-3.3.csproj
r9194 r9226 71 71 <Private>False</Private> 72 72 </Reference> 73 <Reference Include="HeuristicLab.Problems. DataAnalysis-3.4, Version=3.4.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">73 <Reference Include="HeuristicLab.Problems.Instances-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 74 74 <Private>False</Private> 75 75 </Reference> 76 <Reference Include="HeuristicLab.Problems.Instances-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" />77 76 <Reference Include="System" /> 78 77 <Reference Include="System.Core" /> … … 85 84 </ItemGroup> 86 85 <ItemGroup> 87 <Compile Include=" Implementation\ConditionActionClassificationProblem.cs" />88 <Compile Include=" Implementation\ConditionActionClassificationProblemData.cs" />86 <Compile Include="ConditionActionClassificationProblem.cs" /> 87 <Compile Include="ConditionActionClassificationProblemData.cs" /> 89 88 <Compile Include="Plugin.cs" /> 90 89 <None Include="HeuristicLab.snk" /> … … 99 98 <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project> 100 99 <Name>HeuristicLab.Core-3.3</Name> 100 <Private>False</Private> 101 101 </ProjectReference> 102 102 <ProjectReference Include="..\..\HeuristicLab.Encodings.CombinedIntegerVectorEncoding\3.3\HeuristicLab.Encodings.CombinedIntegerVectorEncoding-3.3.csproj"> … … 109 109 <Name>HeuristicLab.Encodings.ConditionActionEncoding-3.3</Name> 110 110 <Private>False</Private> 111 </ProjectReference> 112 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis\3.4\HeuristicLab.Problems.DataAnalysis-3.4.csproj"> 113 <Project>{DF87C13E-A889-46FF-8153-66DCAA8C5674}</Project> 114 <Name>HeuristicLab.Problems.DataAnalysis-3.4</Name> 111 115 </ProjectReference> 112 116 </ItemGroup> -
branches/LearningClassifierSystems/HeuristicLab.Problems.DataAnalysis/3.4/Dataset.cs
r8798 r9226 159 159 } 160 160 161 public IList GetValues(string variableName) { 162 IList list; 163 if (!variableValues.TryGetValue(variableName, out list)) 164 throw new ArgumentException("The variable " + variableName + " does not exist in the dataset."); 165 return list; 166 } 167 161 168 public IEnumerable<double> GetDoubleValues(string variableName) { 162 169 IList list; … … 227 234 public string GetValue(int rowIndex, int columnIndex) { 228 235 return variableValues[variableNames[columnIndex]][rowIndex].ToString(); 236 } 237 public string GetValue(int rowIndex, string variableName) { 238 if (!variableValues.Keys.Contains(variableName)) { 239 throw new ArgumentException("The variable " + variableName + " does not exist in the dataset."); 240 } 241 return variableValues[variableName][rowIndex].ToString(); 229 242 } 230 243 public bool SetValue(string value, int rowIndex, int columnIndex) { -
branches/LearningClassifierSystems/HeuristicLab.Problems.DataAnalysis/3.4/HeuristicLab.Problems.DataAnalysis-3.4.csproj
r8861 r9226 41 41 <DebugType>full</DebugType> 42 42 <Optimize>false</Optimize> 43 <OutputPath> $(SolutionDir)\bin\</OutputPath>43 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 44 44 <DefineConstants>DEBUG;TRACE</DefineConstants> 45 45 <ErrorReport>prompt</ErrorReport> … … 50 50 <DebugType>pdbonly</DebugType> 51 51 <Optimize>true</Optimize> 52 <OutputPath> $(SolutionDir)\bin\</OutputPath>52 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 53 53 <DefineConstants>TRACE</DefineConstants> 54 54 <ErrorReport>prompt</ErrorReport> … … 58 58 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' "> 59 59 <DebugSymbols>true</DebugSymbols> 60 <OutputPath> $(SolutionDir)\bin\</OutputPath>60 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 61 61 <DefineConstants>DEBUG;TRACE</DefineConstants> 62 62 <DebugType>full</DebugType> … … 66 66 </PropertyGroup> 67 67 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' "> 68 <OutputPath> $(SolutionDir)\bin\</OutputPath>68 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 69 69 <DefineConstants>TRACE</DefineConstants> 70 70 <Optimize>true</Optimize> … … 76 76 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> 77 77 <DebugSymbols>true</DebugSymbols> 78 <OutputPath> $(SolutionDir)\bin\</OutputPath>78 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 79 79 <DefineConstants>DEBUG;TRACE</DefineConstants> 80 80 <DebugType>full</DebugType> … … 84 84 </PropertyGroup> 85 85 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> 86 <OutputPath> $(SolutionDir)\bin\</OutputPath>86 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 87 87 <DefineConstants>TRACE</DefineConstants> 88 88 <Optimize>true</Optimize> … … 93 93 </PropertyGroup> 94 94 <ItemGroup> 95 <Reference Include="ALGLIB-3.6.0, Version=3.6.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 96 <HintPath>..\..\bin\ALGLIB-3.6.0.dll</HintPath> 97 <Private>False</Private> 98 </Reference> 99 <Reference Include="HeuristicLab.ALGLIB-3.6.0, Version=3.6.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 100 <HintPath>..\..\bin\HeuristicLab.ALGLIB-3.6.0.dll</HintPath> 101 <Private>False</Private> 95 <Reference Include="ALGLIB-3.6.0"> 96 <HintPath>..\..\..\..\trunk\sources\bin\ALGLIB-3.6.0.dll</HintPath> 97 </Reference> 98 <Reference Include="HeuristicLab.ALGLIB-3.6.0"> 99 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.ALGLIB-3.6.0.dll</HintPath> 100 </Reference> 101 <Reference Include="HeuristicLab.Collections-3.3"> 102 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Collections-3.3.dll</HintPath> 103 </Reference> 104 <Reference Include="HeuristicLab.Common-3.3"> 105 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Common-3.3.dll</HintPath> 106 </Reference> 107 <Reference Include="HeuristicLab.Common.Resources-3.3"> 108 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Common.Resources-3.3.dll</HintPath> 109 </Reference> 110 <Reference Include="HeuristicLab.Data-3.3"> 111 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Data-3.3.dll</HintPath> 112 </Reference> 113 <Reference Include="HeuristicLab.Optimization-3.3"> 114 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Optimization-3.3.dll</HintPath> 115 </Reference> 116 <Reference Include="HeuristicLab.Parameters-3.3"> 117 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Parameters-3.3.dll</HintPath> 118 </Reference> 119 <Reference Include="HeuristicLab.Persistence-3.3"> 120 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Persistence-3.3.dll</HintPath> 121 </Reference> 122 <Reference Include="HeuristicLab.PluginInfrastructure-3.3"> 123 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.PluginInfrastructure-3.3.dll</HintPath> 124 </Reference> 125 <Reference Include="HeuristicLab.Problems.Instances-3.3"> 126 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Problems.Instances-3.3.dll</HintPath> 102 127 </Reference> 103 128 <Reference Include="System" /> … … 239 264 </ItemGroup> 240 265 <ItemGroup> 241 <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">242 <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>243 <Name>HeuristicLab.Collections-3.3</Name>244 <Private>False</Private>245 </ProjectReference>246 <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.3\HeuristicLab.Common.Resources-3.3.csproj">247 <Project>{0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}</Project>248 <Name>HeuristicLab.Common.Resources-3.3</Name>249 <Private>False</Private>250 </ProjectReference>251 <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">252 <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>253 <Name>HeuristicLab.Common-3.3</Name>254 <Private>False</Private>255 </ProjectReference>256 266 <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj"> 257 267 <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project> 258 268 <Name>HeuristicLab.Core-3.3</Name> 259 <Private>False</Private>260 </ProjectReference>261 <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">262 <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>263 <Name>HeuristicLab.Data-3.3</Name>264 <Private>False</Private>265 </ProjectReference>266 <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">267 <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project>268 <Name>HeuristicLab.Optimization-3.3</Name>269 <Private>False</Private>270 </ProjectReference>271 <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj">272 <Project>{56F9106A-079F-4C61-92F6-86A84C2D84B7}</Project>273 <Name>HeuristicLab.Parameters-3.3</Name>274 <Private>False</Private>275 </ProjectReference>276 <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">277 <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>278 <Name>HeuristicLab.Persistence-3.3</Name>279 <Private>False</Private>280 </ProjectReference>281 <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">282 <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>283 <Name>HeuristicLab.PluginInfrastructure-3.3</Name>284 <Private>False</Private>285 </ProjectReference>286 <ProjectReference Include="..\..\HeuristicLab.Problems.Instances\3.3\HeuristicLab.Problems.Instances-3.3.csproj">287 <Project>{3540E29E-4793-49E7-8EE2-FEA7F61C3994}</Project>288 <Name>HeuristicLab.Problems.Instances-3.3</Name>289 269 <Private>False</Private> 290 270 </ProjectReference> -
branches/LearningClassifierSystems/LearningClassifierSystem.sln
r9194 r9226 18 18 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Problems.XCS.Views-3.3", "HeuristicLab.Problems.XCS.Views\3.3\HeuristicLab.Problems.XCS.Views-3.3.csproj", "{8FFB8E0F-BC17-4D72-AF0F-E67A22F8EDE5}" 19 19 EndProject 20 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Problems.Instances.ConditionActionClassification ", "HeuristicLab.Problems.Instances.ConditionActionClassification\3.3\HeuristicLab.Problems.Instances.ConditionActionClassification.csproj", "{1CC7585E-DD22-41FA-869B-93DE41EA8936}"20 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Problems.Instances.ConditionActionClassification-3.3", "HeuristicLab.Problems.Instances.ConditionActionClassification\3.3\HeuristicLab.Problems.Instances.ConditionActionClassification-3.3.csproj", "{1CC7585E-DD22-41FA-869B-93DE41EA8936}" 21 21 EndProject 22 22 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Core-3.3", "HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj", "{C36BD924-A541-4A00-AFA8-41701378DDC5}" 23 23 EndProject 24 24 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Encodings.VariableVector-3.3", "HeuristicLab.Encodings.VariableVector\3.3\HeuristicLab.Encodings.VariableVector-3.3.csproj", "{7C116F48-7218-4105-BD6E-EE868E2D4823}" 25 EndProject 26 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Problems.CombinedIntegerVectorClassification-3.3", "HeuristicLab.Problems.CombinedIntegerVectorClassification\3.3\HeuristicLab.Problems.CombinedIntegerVectorClassification-3.3.csproj", "{E8D42226-3FAF-49AD-91E9-D48A422A1BD0}" 27 EndProject 28 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Problems.VariableVectorClassification-3.3", "HeuristicLab.Problems.VariableVectorClassification\3.3\HeuristicLab.Problems.VariableVectorClassification-3.3.csproj", "{4833BCCD-C7FB-40AB-ABE6-31A8A1FAA3CC}" 29 EndProject 30 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Problems.DataAnalysis-3.4", "HeuristicLab.Problems.DataAnalysis\3.4\HeuristicLab.Problems.DataAnalysis-3.4.csproj", "{DF87C13E-A889-46FF-8153-66DCAA8C5674}" 25 31 EndProject 26 32 Global … … 106 112 {7C116F48-7218-4105-BD6E-EE868E2D4823}.Release|x64.ActiveCfg = Release|Any CPU 107 113 {7C116F48-7218-4105-BD6E-EE868E2D4823}.Release|x86.ActiveCfg = Release|Any CPU 114 {E8D42226-3FAF-49AD-91E9-D48A422A1BD0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 115 {E8D42226-3FAF-49AD-91E9-D48A422A1BD0}.Debug|Any CPU.Build.0 = Debug|Any CPU 116 {E8D42226-3FAF-49AD-91E9-D48A422A1BD0}.Debug|x64.ActiveCfg = Debug|Any CPU 117 {E8D42226-3FAF-49AD-91E9-D48A422A1BD0}.Debug|x86.ActiveCfg = Debug|Any CPU 118 {E8D42226-3FAF-49AD-91E9-D48A422A1BD0}.Release|Any CPU.ActiveCfg = Release|Any CPU 119 {E8D42226-3FAF-49AD-91E9-D48A422A1BD0}.Release|Any CPU.Build.0 = Release|Any CPU 120 {E8D42226-3FAF-49AD-91E9-D48A422A1BD0}.Release|x64.ActiveCfg = Release|Any CPU 121 {E8D42226-3FAF-49AD-91E9-D48A422A1BD0}.Release|x86.ActiveCfg = Release|Any CPU 122 {4833BCCD-C7FB-40AB-ABE6-31A8A1FAA3CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 123 {4833BCCD-C7FB-40AB-ABE6-31A8A1FAA3CC}.Debug|Any CPU.Build.0 = Debug|Any CPU 124 {4833BCCD-C7FB-40AB-ABE6-31A8A1FAA3CC}.Debug|x64.ActiveCfg = Debug|Any CPU 125 {4833BCCD-C7FB-40AB-ABE6-31A8A1FAA3CC}.Debug|x86.ActiveCfg = Debug|Any CPU 126 {4833BCCD-C7FB-40AB-ABE6-31A8A1FAA3CC}.Release|Any CPU.ActiveCfg = Release|Any CPU 127 {4833BCCD-C7FB-40AB-ABE6-31A8A1FAA3CC}.Release|Any CPU.Build.0 = Release|Any CPU 128 {4833BCCD-C7FB-40AB-ABE6-31A8A1FAA3CC}.Release|x64.ActiveCfg = Release|Any CPU 129 {4833BCCD-C7FB-40AB-ABE6-31A8A1FAA3CC}.Release|x86.ActiveCfg = Release|Any CPU 130 {DF87C13E-A889-46FF-8153-66DCAA8C5674}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 131 {DF87C13E-A889-46FF-8153-66DCAA8C5674}.Debug|Any CPU.Build.0 = Debug|Any CPU 132 {DF87C13E-A889-46FF-8153-66DCAA8C5674}.Debug|x64.ActiveCfg = Debug|x64 133 {DF87C13E-A889-46FF-8153-66DCAA8C5674}.Debug|x64.Build.0 = Debug|x64 134 {DF87C13E-A889-46FF-8153-66DCAA8C5674}.Debug|x86.ActiveCfg = Debug|x86 135 {DF87C13E-A889-46FF-8153-66DCAA8C5674}.Debug|x86.Build.0 = Debug|x86 136 {DF87C13E-A889-46FF-8153-66DCAA8C5674}.Release|Any CPU.ActiveCfg = Release|Any CPU 137 {DF87C13E-A889-46FF-8153-66DCAA8C5674}.Release|Any CPU.Build.0 = Release|Any CPU 138 {DF87C13E-A889-46FF-8153-66DCAA8C5674}.Release|x64.ActiveCfg = Release|x64 139 {DF87C13E-A889-46FF-8153-66DCAA8C5674}.Release|x64.Build.0 = Release|x64 140 {DF87C13E-A889-46FF-8153-66DCAA8C5674}.Release|x86.ActiveCfg = Release|x86 141 {DF87C13E-A889-46FF-8153-66DCAA8C5674}.Release|x86.Build.0 = Release|x86 108 142 EndGlobalSection 109 143 GlobalSection(SolutionProperties) = preSolution
Note: See TracChangeset
for help on using the changeset viewer.