Methods
solve(problem, params) → {Result}
Main function method, solves the problem using genetic algorithm
Parameters:
Name | Type | Description |
---|---|---|
problem |
Problem | instance of problem |
params |
object | parameters for genetic algorithm |
- Source:
Returns:
final configuration, its fitness and number of iterations
- Type
- Result