public class TradeoffAnalytics extends WatsonService
MESSAGE_CODE, MESSAGE_ERROR, VERSION| Constructor and Description |
|---|
TradeoffAnalytics()
Instantiates a new tradeoff analytics.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceCall<Dilemma> |
dilemmas(Problem problem)
Returns a dilemma that contains the
Problem and a Resolution. |
ServiceCall<Dilemma> |
dilemmas(Problem problem,
Boolean generateVisualization)
Returns a dilemma that contains the
Problem and a Resolution. |
configureHttpClient, createServiceCall, getApiKey, getEndPoint, getName, getToken, processServiceCall, setApiKey, setAuthentication, setDefaultHeaders, setEndPoint, setUsernameAndPassword, toStringpublic TradeoffAnalytics()
public ServiceCall<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 ServiceCall<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.