ARLO Adapt
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
arlo.TagDiscoveryBias Class Reference
Inheritance diagram for arlo.TagDiscoveryBias:
Inheritance graph
[legend]
Collaboration diagram for arlo.TagDiscoveryBias:
Collaboration graph
[legend]

Public Member Functions

 TagDiscoveryBias (int numFrequencyBands, double numTimeFramesPerSecond, double dampingRatio, double minFrequency, double maxFrequency)
 
String getSpectraComputationBiasString ()
 
String getSpectraMemoryMapFilePath ()
 
boolean updateFractionCompletedForTagAnalysis (Connection connection)
 Update a Job in the database with the current fractionCompleted of this job. More...
 
- Public Member Functions inherited from arlo.NesterJob
 NesterJob ()
 Default Constructor. More...
 
 NesterJob (NesterJob j)
 Copy Constructor. More...
 
boolean getNesterJob (int id, Connection connection)
 Get a Job from the database. More...
 
String GetJobParameter (String name)
 Lookup a JobParameter from the Job. More...
 
Vector< String > GetJobParameterVector (String name)
 Lookup a JobParameter from the Job. More...
 
boolean AddJobParameter (String name, String value)
 Add a JobParameter to a Job object in memory. More...
 
boolean SaveJob (Connection connection)
 Save a NesterJob object to the database. More...
 
void PrintJobParameters ()
 
boolean SaveJobLogMessage (String message)
 Save a log entry for a Job. More...
 
boolean SaveJobLogMessage (String message, Connection connection)
 
boolean UploadJobResultFile (String fileName, byte[] resultFileBytes, String notes, Connection connection)
 Upload a Job Result File back to the webserver. More...
 

Static Public Member Functions

static boolean updateFractionCompletedForTagAnalysis (int tagDiscoveryBiasId, double fractionCompleted, Connection connection)
 Update a Job in the database with the current fractionCompleted. More...
 
- Static Public Member Functions inherited from arlo.NesterJob
static Integer GetJobStatusIdFromName (String statusName, Connection connection)
 Given a Job Status Name, lookup the database Id. More...
 
static Integer GetJobTypeIdFromName (String typeName, Connection connection)
 Given a Job Type Name, lookup the database Id. More...
 
static boolean SaveJobLogMessage (int jobId, String message)
 Save a log entry for a Job. More...
 
static boolean SaveJobLogMessage (int jobId, String message, Connection connection)
 

Public Attributes

int numFrequencyBands
 
double numTimeFramesPerSecond
 
double dampingRatio
 
double minFrequency
 
double maxFrequency
 
- Public Attributes inherited from arlo.NesterJob
int id
 
String name
 
int user_id
 
int project_id
 
Timestamp creationDate
 
int numToComplete
 
int numCompleted
 
double fractionCompleted
 
double elapsedRealTime
 
double timeToCompletion
 
boolean isRunning
 
boolean wasStopped
 
boolean isComplete
 
boolean wasDeleted
 
int type_id
 
Integer status_id
 
Integer requestedStatus_id
 
Integer parentJob_id
 
Integer priority
 
HashMap< String, Vector< String > > jobParameters
 

Constructor & Destructor Documentation

arlo.TagDiscoveryBias.TagDiscoveryBias ( int  numFrequencyBands,
double  numTimeFramesPerSecond,
double  dampingRatio,
double  minFrequency,
double  maxFrequency 
)

Member Function Documentation

String arlo.TagDiscoveryBias.getSpectraComputationBiasString ( )
String arlo.TagDiscoveryBias.getSpectraMemoryMapFilePath ( )
boolean arlo.TagDiscoveryBias.updateFractionCompletedForTagAnalysis ( Connection  connection)

Update a Job in the database with the current fractionCompleted of this job.

Parameters
connectionAn opened database connection.

True if success, False on any error

static boolean arlo.TagDiscoveryBias.updateFractionCompletedForTagAnalysis ( int  tagDiscoveryBiasId,
double  fractionCompleted,
Connection  connection 
)
static

Update a Job in the database with the current fractionCompleted.

Parameters
tagDiscoveryBiasIdDatabase id of the Job to update
fractionCompletedFraction of the Job complete, TODO 0.0 - 100.0 percent, or 0.0 to 1.0.
connectionAn opened database connection.

True if success, False on any error

Member Data Documentation

double arlo.TagDiscoveryBias.dampingRatio
double arlo.TagDiscoveryBias.maxFrequency
double arlo.TagDiscoveryBias.minFrequency
int arlo.TagDiscoveryBias.numFrequencyBands
double arlo.TagDiscoveryBias.numTimeFramesPerSecond

The documentation for this class was generated from the following file: