16 #include "../proshade/ProSHADE.h" 49 std::cout << std::endl <<
"Usage: useDatabase [dbName] [filename1] to get distances from [filename1] to all files in the database." << std::endl << std::endl;
55 setUp->
structFiles.emplace_back ( std::string ( argv[2] ) );
69 if ( crossCorrDists.size() > 0 )
71 printf (
"Energy Level Descriptor distances : %+.5f", crossCorrDists.at(0) );
72 for (
unsigned int iter = 1; iter < static_cast<unsigned int> ( crossCorrDists.size() ); iter++ )
74 printf (
"\t%+.4f", crossCorrDists.at(iter) );
80 std::cerr <<
"!!! Error !!! ProSHADE failed to obtain distances, please see the standard error stream for details. Did you set the energyLevelDist settings to false? Terminating..." << std::endl;
84 if ( traceSigmaDists.size() > 0 )
86 printf (
"Trace Sigma Descriptor distances : %+.5f", traceSigmaDists.at(0) );
87 for (
unsigned int iter = 1; iter < static_cast<unsigned int> ( traceSigmaDists.size() ); iter++ )
89 printf (
"\t%+.4f", traceSigmaDists.at(iter) );
95 std::cerr <<
"!!! Error !!! ProSHADE failed to obtain distances, please see the standard error stream for details. Did you set the traceSigmaDist settings to false? Terminating..." << std::endl;
99 if ( rotFunDists.size() > 0 )
101 printf (
"Rotation Function Descriptor distances : %+.5f", rotFunDists.at(0) );
102 for (
unsigned int iter = 1; iter < static_cast<unsigned int> ( rotFunDists.size() ); iter++ )
104 printf (
"\t%+.4f", rotFunDists.at(iter) );
110 std::cerr <<
"!!! Error !!! ProSHADE failed to obtain distances, please see the standard error stream for details. Did you set the fullRotFnDist settings to false? Terminating..." << std::endl;
114 for (
unsigned int iter = 1; iter < static_cast<unsigned int> ( setUp->
structFiles.size() ); iter++ )
116 printf (
"Matching structure names : %40s vs. %-40s\n", setUp->
structFiles.at(0).c_str(), setUp->
structFiles.at(iter).c_str() );
118 std::cout << std::endl;
std::vector< double > getRotFunctionDists(void)
Accessor function for the rotation function based distances vector.
bool clearMapData
This value is used to decide whether the input maps should be cleared again, or not.
std::string databaseName
The name of the bin file to which the database should be saved.
bool htmlReport
Should HTML report for the run be created?
int verbose
Should the software report on the progress, or just be quiet? Value between 0 (quiet) and 4 (loud) ...
std::string getProSHADEVersion(void)
Miscellanous function allowing the user to get the ProSHADE version.
double trSigmaThreshold
All structure pairs with trace sigma descriptor value less than this will not be subjected to any fur...
bool fullRotFnDist
Should the full rotation function distances descriptor be computed.
double volumeTolerance
The percentage tolerance on each dimmension when comparing one structure to entire database...
std::vector< double > getTraceSigmaDists(void)
Accessor function for the trace sigma distances vector.
bool traceSigmaDist
Should the trace sigma distances descriptor be computed.
bool energyLevelDist
Should the energy level distances descriptor be computed.
This class stores all the settings and is passed to the executive classes instead of multitude of par...
std::vector< double > getCrossCorrDists(void)
Accessor function for the cross-correlation distances vector.
std::vector< std::string > structFiles
This vector should contain all the structures that are being dealt with, but this does not yet work! ...
double enLevelsThreshold
All structure pairs with energy level descriptor value less than this will not be subjected to any fu...
Task taskToPerform
This custom type variable determines which task to perfom (i.e. symmetry detection, distances computation or map features extraction).