Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/10/13 15:15:13 (12 years ago)
Author:
sforsten
Message:

#1980:

  • added DecisionListView
  • added event handlers in *ProblemData
  • renamed project Problems.XCS.Views to Problems.lCS.Views and Problems.Instances.ConditionActionClassification to Problems.Instances.LCS
  • integrated niching in GAssist and added NichingTournamentSelector
  • minor code improvements and property changes
Location:
branches/LearningClassifierSystems/HeuristicLab.Problems.CombinedIntegerVectorClassification/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/LearningClassifierSystems/HeuristicLab.Problems.CombinedIntegerVectorClassification/3.3/CombinedIntegerVectorClassificationProblemData.cs

    r9242 r9352  
    4545      get { return (IFixedValueParameter<IntValue>)Parameters["ActionLength"]; }
    4646    }
    47     public IFixedValueParameter<IntMatrix> BoundsParameter {
    48       get { return (IFixedValueParameter<IntMatrix>)Parameters["Bounds"]; }
     47    public IValueParameter<IntMatrix> BoundsParameter {
     48      get { return (IValueParameter<IntMatrix>)Parameters["Bounds"]; }
    4949    }
    5050    #endregion
     
    7777      Parameters.Add(new FixedValueParameter<IntValue>("Length", "", new IntValue(allowedConditionVariables.Count() + allowedActionVariables.Count())));
    7878      Parameters.Add(new FixedValueParameter<IntValue>("ActionLength", "", new IntValue(allowedActionVariables.Count())));
    79       Parameters.Add(new FixedValueParameter<IntMatrix>("Bounds", "", GetBoundsMatrix(dataset, allowedConditionVariables, allowedActionVariables)));
     79      Parameters.Add(new ValueParameter<IntMatrix>("Bounds", "", GetBoundsMatrix(dataset, allowedConditionVariables, allowedActionVariables)));
    8080    }
    8181
     
    126126      return (FetchInput(rowNumber) as IClassifier).Action;
    127127    }
     128
     129    protected override void ActionConditionVariablesChanged() {
     130      ActionLength.Value = AllowedActionVariables.Count();
     131      Length.Value = AllowedConditionVariables.Count() + ActionLength.Value;
     132      BoundsParameter.Value = GetBoundsMatrix(Dataset, AllowedConditionVariables, AllowedActionVariables);
     133    }
    128134  }
    129135}
  • branches/LearningClassifierSystems/HeuristicLab.Problems.CombinedIntegerVectorClassification/3.3/HeuristicLab.Problems.CombinedIntegerVectorClassification-3.3.csproj

    r9334 r9352  
    125125  </ItemGroup>
    126126  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
     127  <PropertyGroup>
     128    <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     129set ProjectDir=$(ProjectDir)
     130set SolutionDir=$(SolutionDir)
     131set Outdir=$(Outdir)
     132
     133call PreBuildEvent.cmd
     134</PreBuildEvent>
     135  </PropertyGroup>
    127136  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    128137       Other similar extension points exist, see Microsoft.Common.targets.
Note: See TracChangeset for help on using the changeset viewer.