public class TradeoffAnalytics extends WatsonService
VERSION| Constructor and Description |
|---|
TradeoffAnalytics()
Instantiates a new tradeoff analytics.
|
| Modifier and Type | Method and Description |
|---|---|
Dilemma |
dilemmas(Problem problem)
Returns a dilemma that contains the
Problem and a Resolution. |
Dilemma |
dilemmas(Problem problem,
Boolean generateVisualization)
Returns a dilemma that contains the
Problem and a Resolution. |
configureHttpClient, execute, executeRequest, executeWithoutResponse, getApiKey, getEndPoint, getName, setApiKey, setAuthentication, setDefaultHeaders, setEndPoint, setUsernameAndPassword, toStringpublic TradeoffAnalytics()
public Dilemma dilemmas(Problem problem)
Problem and a Resolution. The
Problem contains a set of options and objectives. The Resolution contains a set
of optimal options, their analytical characteristics, and by default their representation on a
2D space.
TradeoffAnalytics service = new TradeoffAnalytics();
service.setUsernameAndPassword("USERNAME", "PASSWORD");
Problem problem = new Problem(); // create the options and objectives here
Dilemma dilemma = service.dilemmas(problem, false);
problem - the decision problempublic Dilemma dilemmas(Problem problem, Boolean generateVisualization)
Problem and a Resolution. The
Problem contains a set of options and objectives. The Resolution contains a set
of optimal options, their analytical characteristics, and by default their representation on a
2D space.
TradeoffAnalytics service = new TradeoffAnalytics();
service.setUsernameAndPassword("USERNAME", "PASSWORD");
Problem problem = new Problem(); // create the options and objectives here
Dilemma dilemma = service.dilemmas(problem, false);
problem - the decision problemgenerateVisualization - if true the Dilemma contains information to generate visualizationCopyright © 2015–2016. All rights reserved.