|
BCESolve
|
Assembles BCEGameHandler, BCEPlotHandler, and BCELogHandler into a Unified GUI. More...
#include <bcewindow.hpp>


Signals | |
| void | dataPathChanged (QString newPath) |
| Sends path to example to BCEDataState. More... | |
| void | setCancelFlag () |
| Signals the callback object to cancel optimization. | |
Public Member Functions | |
| BCEWindow (BCELogHandler &logHandler) | |
| Constructor. | |
| ~BCEWindow () | |
| Destructor. | |
| void | displayAbout () |
| Displays "about" window. | |
Private Slots | |
| void | loadSolution () |
| Interacts with BCEPlotHandler to load new data. More... | |
| void | loadGame () |
| Interacts with BCEGameHandler and BCEPlotHandler to load a new game. | |
| void | saveSolution () |
| Interacts with BCEGameHandler and BCEPlotHandler to save a solution. | |
| void | saveGame () |
| Interacts with BCEGameHandler and BCEPlotHandler to save a game. | |
| void | runSolve () |
| Interacts with BCEGameHandler and BCESolverWorker to solve a game. | |
| void | tabToSolution (BCESolution *soln, bool isBoundaryMapped) |
| Switches the current tab to the solution tab. | |
| void | screenshot () |
| Takes a screenshot and opens a save file menu. | |
| void | generateHybridAuction () |
| Starts the routine to build the common values default hybrid auction. | |
| void | generateCommonValueAuction () |
| Builds the default common values first price auction. | |
| void | generateFirstPriceAuction () |
| Generates the first price auction with known values. | |
| void | displayException (QString message) |
| Displays exceptions signaled from other classes. | |
| void | conditionBCE (bool checked) |
| Toggles whether BCE heat map is conditional on state. | |
| void | displayAboutFromToolBar () |
| Displays about screen when requested in the toolbar. | |
Private Attributes | |
| BCEGameHandler * | gameTab |
| Contains all information for the game tab. | |
| BCEPlotHandler * | solutionTab |
| Contains all information for the solution tab. | |
| BCELogHandler * | logTab |
| Pointer to the logTab in main.cpp. | |
| QTabWidget * | tabWidget |
| Widget holding layouts for game, solution, and log tabs. | |
| QString | path |
| Default Path to data. | |
| QString | screenShotPath |
| Default path to gui screenshots (*.png files). More... | |
| QThread * | solverWorkerThread |
| Thread for solverWorker. | |
| BCESolverWorker * | solverWorker |
| solverWorker Object for Solving Games | |
| BCEGurobiCallback * | callback |
| Callback object for communicating with solver. | |
Assembles BCEGameHandler, BCEPlotHandler, and BCELogHandler into a Unified GUI.
Sets up a menu bar and assembles bcegamehandler, bceplothandler, and bcesolverworker objects into a tab widget. This tab widget is set as the layout of the GUI. Contains methods for loading a solution (loads game and solution) or loading a game (loads just game). Contains similar methods for saving games and solutions, though these are saved independently.
|
signal |
Sends path to example to BCEDataState.
Gets path to example data from user interaction. Sends that path to BCEDataState in order to load new data.
|
privateslot |
Interacts with BCEPlotHandler to load new data.
Sends the new data path to BCEDataState to load the new data. Resets sliders and line-edits to 0. Sets range of sliders according to the number of actions, types, and states in the new data.
|
private |
Default path to gui screenshots (*.png files).
Currently set as ../examples/screenshots/