MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.db.image.QueryStateCollection Class Reference

The QueryStateCollection manages all query states used by matching the QueryState handles with the QueryStates where each handle points to both the training set query state and testing set query state. More...

Inheritance diagram for MyCaffe.db.image.QueryStateCollection:

Public Member Functions

 QueryStateCollection ()
 The constructor. More...
 
void Dispose ()
 Releases all resources. More...
 
long CreateNewState (QueryState training, QueryState testing)
 Create a new QueryState handle based on the QueryStates passed to this function. More...
 
bool FreeQueryState (long lHandle)
 Free the QueryStates associated with the handle and remove it from the handle list. More...
 
QueryState GetTrainingState (long lHandle)
 Returns the QueryState used with thet Training data source. More...
 
QueryState GetTestingState (long lHandle)
 Returns the QueryState used with thet Testing data source. More...
 
void ReIndexTraining (List< DbItem > rgItems)
 Relabels the training QueryState based on the DbItems. More...
 
void ReIndexTesting (List< DbItem > rgItems)
 Relabels the testing QueryState based on the DbItems. More...
 

Detailed Description

The QueryStateCollection manages all query states used by matching the QueryState handles with the QueryStates where each handle points to both the training set query state and testing set query state.

Definition at line 211 of file QueryState.cs.

Constructor & Destructor Documentation

◆ QueryStateCollection()

MyCaffe.db.image.QueryStateCollection.QueryStateCollection ( )

The constructor.

Definition at line 219 of file QueryState.cs.

Member Function Documentation

◆ CreateNewState()

long MyCaffe.db.image.QueryStateCollection.CreateNewState ( QueryState  training,
QueryState  testing 
)

Create a new QueryState handle based on the QueryStates passed to this function.

Parameters
trainingSpecifies the training QueryState used on the training data source.
testingSpecifies the testing QueryState used on the testing data source.
Returns
The QueryState handle is returned.

Definition at line 245 of file QueryState.cs.

◆ Dispose()

void MyCaffe.db.image.QueryStateCollection.Dispose ( )

Releases all resources.

Definition at line 228 of file QueryState.cs.

◆ FreeQueryState()

bool MyCaffe.db.image.QueryStateCollection.FreeQueryState ( long  lHandle)

Free the QueryStates associated with the handle and remove it from the handle list.

Parameters
lHandleSpecifies the QueryState handle.
Returns
If found and freed, this method returns true, otherwise false.

Definition at line 265 of file QueryState.cs.

◆ GetTestingState()

QueryState MyCaffe.db.image.QueryStateCollection.GetTestingState ( long  lHandle)

Returns the QueryState used with thet Testing data source.

Parameters
lHandleSpecifies the QueryState handle.
Returns
The testing set QueryState is returned.

Definition at line 305 of file QueryState.cs.

◆ GetTrainingState()

QueryState MyCaffe.db.image.QueryStateCollection.GetTrainingState ( long  lHandle)

Returns the QueryState used with thet Training data source.

Parameters
lHandleSpecifies the QueryState handle.
Returns
The training set QueryState is returned.

Definition at line 289 of file QueryState.cs.

◆ ReIndexTesting()

void MyCaffe.db.image.QueryStateCollection.ReIndexTesting ( List< DbItem rgItems)

Relabels the testing QueryState based on the DbItems.

Parameters
rgItemsSpecifies the DbItems to use to relabel the QueryState.

Definition at line 336 of file QueryState.cs.

◆ ReIndexTraining()

void MyCaffe.db.image.QueryStateCollection.ReIndexTraining ( List< DbItem rgItems)

Relabels the training QueryState based on the DbItems.

Parameters
rgItemsSpecifies the DbItems to use to relabel the QueryState.

Definition at line 320 of file QueryState.cs.


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