EasyCV  0.9.36
Easy! Computer Vision
Classes | Public Member Functions | Private Attributes | List of all members
cvacutil.RunSetWrapper Class Reference
Inheritance diagram for cvacutil.RunSetWrapper:

Classes

class  RunSetIterator
 

Public Member Functions

 RunSetWrapper (cvac.RunSet runset, String mediaRootPath)
 
int getSampleCount ()
 
Iterator< Labelableiterator ()
 
Iterator< Labelableiterator (Purpose constraint)
 
String toString ()
 

Private Attributes

cvac.RunSet runset = null
 
String mediaRootPath = null
 

Detailed Description

RunSetWrapper wraps the ICE-generated cvac.RunSet with Java utility functions.

Author
matz

Constructor & Destructor Documentation

cvacutil.RunSetWrapper.RunSetWrapper ( cvac.RunSet  runset,
String  mediaRootPath 
)
inline

Wraps a CVAC RunSet in Java utility functions; mainly an iterator.

Member Function Documentation

int cvacutil.RunSetWrapper.getSampleCount ( )
inline

count all samples (Labelables) in this list of lists. Note that this might be an expensive operation.

Returns
Iterator<Labelable> cvacutil.RunSetWrapper.iterator ( )
inline
Iterator<Labelable> cvacutil.RunSetWrapper.iterator ( Purpose  constraint)
inline

iterate only over samples with the "constraint" purpose

Parameters
constraintfor example, only positive samples
Returns
String cvacutil.RunSetWrapper.toString ( )
inline

Member Data Documentation

String cvacutil.RunSetWrapper.mediaRootPath = null
private
cvac.RunSet cvacutil.RunSetWrapper.runset = null
private

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