D - the domain typeR - the result typepublic class BruteForce<D,R> extends Object
| Constructor and Description |
|---|
BruteForce(Function<D,R> function)
Constructs a brute force search for a function.
|
| Modifier and Type | Method and Description |
|---|---|
List<R> |
getResults(List<D> domain)
Runs in parallel the brute force algorithm on the function for a given
domain.
|
List<R> |
getResultsSerially(List<D> domain)
Deprecated.
|
public List<R> getResults(List<D> domain)
domain - a domain@Deprecated public List<R> getResultsSerially(List<D> domain)
domain - a domainCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.