Public Member Functions | |
Warning (const std::string &outputDir, const std::string &outputLBName, bool realtime, const float warningTime, const std::string &topLeftCorner, const std::string &botRightCorner, const std::string &spacing, const std::string &translateTimes, const float updateInterval, const float nwsWarningDist, bool useGauss, bool plateau, const float buffer, bool useEnglish, bool displacedRealTime, std::string &locationsXml) | |
Algorithm constructor, called from w2warn_poc_main with the command-line options passed in. | |
void | processThreatAreaPolygons (const code::ContourData &contours) |
void | processWarnings (const code::DataTable &data) |
void | processTimeGrid (const code::Index::Record &rec) |
bool | hasThreatAreas () |
bool | processingThreatAreas () |
void | processThreatArea (ThreatArea *ta) |
w2img::TruthPolygon | movePixel (ThreatArea ta, short i, short j, code::TimeInterval t) |
float | determineWarningValue (float warningValue, float gridValue) |
float | generateProb (ThreatArea ta, short i, short j, code::TimeInterval t) |
void | generateWarningGrids (code::Time warningTime) |
void | createWarningBounds (ThreatArea *ta) |
void | parseLocations (std::string &fileName) |
Public Attributes | |
bool | dispRealTime |
code::Time | displacedTime |
w2warn::Warning::Warning | ( | const std::string & | outputDir, | |
const std::string & | outputLBName, | |||
bool | realtime, | |||
const float | warningTime, | |||
const std::string & | topLeftCorner, | |||
const std::string & | botRightCorner, | |||
const std::string & | spacing, | |||
const std::string & | translateTimes, | |||
const float | updateInterval, | |||
const float | nwsWarningDist, | |||
bool | useGauss, | |||
bool | plateau, | |||
const float | buffer, | |||
bool | useEnglish, | |||
bool | displacedRealTime, | |||
std::string & | locationsXml | |||
) |
Algorithm constructor, called from w2warn_poc_main with the command-line options passed in.
void w2warn::Warning::createWarningBounds | ( | ThreatArea * | ta | ) |
float w2warn::Warning::determineWarningValue | ( | float | warningValue, | |
float | gridValue | |||
) |
float w2warn::Warning::generateProb | ( | ThreatArea | ta, | |
short | i, | |||
short | j, | |||
code::TimeInterval | t | |||
) |
void w2warn::Warning::generateWarningGrids | ( | code::Time | warningTime | ) |
bool w2warn::Warning::hasThreatAreas | ( | ) |
w2img::TruthPolygon w2warn::Warning::movePixel | ( | ThreatArea | ta, | |
short | i, | |||
short | j, | |||
code::TimeInterval | t | |||
) |
void w2warn::Warning::parseLocations | ( | std::string & | fileName | ) |
bool w2warn::Warning::processingThreatAreas | ( | ) |
void w2warn::Warning::processThreatArea | ( | ThreatArea * | ta | ) |
void w2warn::Warning::processThreatAreaPolygons | ( | const code::ContourData & | contours | ) |
void w2warn::Warning::processTimeGrid | ( | const code::Index::Record & | rec | ) |
void w2warn::Warning::processWarnings | ( | const code::DataTable & | data | ) |
code::Time w2warn::Warning::displacedTime |