|
BALL
1.4.79
|
#include <BALL/DOCKING/COMMON/result.h>
Classes | |
| class | ResultData |
Public Member Functions | |
| Result () | |
| Result (const Result::Method &_method) | |
| Result (const Result &res) | |
| Result (const Result &res, const HashSet< String > &IDs) | |
| virtual | ~Result () |
| void | clear () |
| void | operator= (const Result &res) |
| void | operator+= (const Result &res) |
| Result::Method | getMethod () |
| String | getMethodString () |
| void | setMethod (Result::Method _method) |
| const vector< String > * | getInputConformations () |
| Conformation * | getInputConformer (Ligand *lig) throw (Exception::GeneralException) |
| Conformation * | getFirstOutputConformation (Ligand *lig) throw (Exception::GeneralException) |
| vector< Result::ResultData > | getOutputConformations (Ligand *lig) |
| const HashSet< String > * | getInputIds () |
| HashSet< String > | getOutputIds () |
| ResultData | getOutputData (String id) |
| bool | hasOutputData (String id) |
| void | add (Conformation *lig_conf_in, ResultData &rd) |
| void | add (Conformation *lig_conf_in, Conformation *lig_conf_out, int scoringmethod, double energy, Conformation *rec_conf) |
| void | add (const String &lig_conf_in, const String &lig_conf_out, int scoringmethod, double energy, const String &rec_conf) |
| void | add (String lig_conf_id_in, Result::ResultData &rd) |
| const vector < Result::ResultData > * | get (String inpose_id) |
| void | erase (const FlexibleMolecule *flexmol) |
| void | erase (const String &ID) |
| void | sort (const list< String > &input_order, list< String > &output_order) |
| void | setTimestamp (const String ×tamp) |
| const String & | getTimestamp () |
| void | setDescription (const String &text) |
| const String & | getDescription () |
| void | setToolInfo (const String &toolinfo) |
| const String & | getToolInfo () |
| const HashMap< String, vector < ResultData > > * | getData () |
Static Public Member Functions | |
| static Result::Method | getMethod (int i) |
| static Result * | makeLigandImportResult () |
| static Result * | makeReceptorImportResult () |
| static Result * | makeDockingResult () |
| static Result * | makeRescoringResult () |
| static String | toString (const ResultData &rd) |
Protected Attributes | |
| String | timestamp_ |
| String | toolinfo_ |
| Result::Method | method |
| HashMap< String, vector < ResultData > > | result_data_ |
| HashMap< String, ResultData > | result_output_data_ |
| vector< String > | input_conformations_ |
| HashSet< String > | input_conformations_map_ |
| String | description_ |
Result class. This class represents a result that occur within virtual screening workflows, like docking results or rescoring results.
| BALL::Result::Result | ( | ) |
| BALL::Result::Result | ( | const Result::Method & | _method | ) |
| BALL::Result::Result | ( | const Result & | res | ) |
Copy constructor
Copy constructor that copies only those entries whose IDs can be found in the given HashSet.
|
virtual |
| void BALL::Result::add | ( | Conformation * | lig_conf_in, |
| ResultData & | rd | ||
| ) |
Add a result entry for a Ligand conformation.
| pointer | to Ligand input conformation |
| ResultData |
| void BALL::Result::add | ( | Conformation * | lig_conf_in, |
| Conformation * | lig_conf_out, | ||
| int | scoringmethod, | ||
| double | energy, | ||
| Conformation * | rec_conf | ||
| ) |
Add a result entry for a Ligand conformation.
| pointer | to Ligand input conformation |
| pointer | to Ligand output conformation |
| scoring | method |
| energy | |
| receptor | conformation |
| void BALL::Result::add | ( | const String & | lig_conf_in, |
| const String & | lig_conf_out, | ||
| int | scoringmethod, | ||
| double | energy, | ||
| const String & | rec_conf | ||
| ) |
| void BALL::Result::add | ( | String | lig_conf_id_in, |
| Result::ResultData & | rd | ||
| ) |
Add a result entry for a Ligand conformation.
| Ligand | input conformation String |
| ResultData |
| void BALL::Result::clear | ( | ) |
Clear all ResultData from this object.
Method information and description will be retained.
| void BALL::Result::erase | ( | const FlexibleMolecule * | flexmol | ) |
Remove the result data for all conformations of the given FlexibleMolecule from this Result object.
| void BALL::Result::erase | ( | const String & | ID | ) |
| const vector<Result::ResultData>* BALL::Result::get | ( | String | inpose_id | ) |
Get result entries for a Ligand conformation String.
| Ligand | input conformation String |
| const HashMap<String, vector<ResultData> >* BALL::Result::getData | ( | ) |
| const String& BALL::Result::getDescription | ( | ) |
| Conformation* BALL::Result::getFirstOutputConformation | ( | Ligand * | lig | ) | |
| throw | ( | Exception::GeneralException | |||
| ) | |||||
Get the first output conformation of the result for a specific Ligand.
| pointer | to Ligand |
| const vector< String >* BALL::Result::getInputConformations | ( | ) |
Get the list of all input conformation UIDs.
| Conformation* BALL::Result::getInputConformer | ( | Ligand * | lig | ) | |
| throw | ( | Exception::GeneralException | |||
| ) | |||||
Get the input conformation of the result for a specific Ligand.
| pointer | to Ligand |
|
static |
| Result::Method BALL::Result::getMethod | ( | ) |
Get the Method of the Result.
| vector< Result::ResultData > BALL::Result::getOutputConformations | ( | Ligand * | lig | ) |
Get the all output conformation of the result for a specific Ligand.
| pointer | to Ligand |
| ResultData BALL::Result::getOutputData | ( | String | id | ) |
| const String& BALL::Result::getTimestamp | ( | ) |
| const String& BALL::Result::getToolInfo | ( | ) |
|
static |
|
static |
|
static |
|
static |
| void BALL::Result::operator= | ( | const Result & | res | ) |
Copy the content of 'res' into this Result object
| void BALL::Result::setDescription | ( | const String & | text | ) |
| void BALL::Result::setMethod | ( | Result::Method | _method | ) |
Set the Method of the Result.
| Method |
| void BALL::Result::setTimestamp | ( | const String & | timestamp | ) |
| void BALL::Result::setToolInfo | ( | const String & | toolinfo | ) |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.7