Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
|
---|
6 |
|
---|
7 | namespace HeuristicLab.Problems.GrammaticalOptimization {
|
---|
8 | // represents a grammatical optimization problem
|
---|
9 | public interface IProblem {
|
---|
10 | double BestKnownQuality(int maxLen);
|
---|
11 | IGrammar Grammar { get; }
|
---|
12 | double Evaluate(string sentence);
|
---|
13 | string CanonicalRepresentation(string phrase); // canonical state must use correct syntax (must be a valid input for evaluate)
|
---|
14 | IEnumerable<Feature> GetFeatures(string phrase);
|
---|
15 | }
|
---|
16 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.