Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/HeuristicLab.Problems.GrammaticalOptimization/Feature.cs @ 11842

Last change on this file since 11842 was 11832, checked in by gkronber, 9 years ago

linear value function approximation and good results for poly-10 benchmark

File size: 514 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6
7namespace HeuristicLab.Problems.GrammaticalOptimization {
8  // for the feature extraction function for grammatical optimization problems (sparse representation)
9  public class Feature {
10    public string Id { get; private set; }
11    public double Value { get; private set; }
12
13    public Feature(string id, double val) {
14      this.Id = id;
15      this.Value = val;
16    }
17  }
18}
Note: See TracBrowser for help on using the repository browser.