cocopp.archiving.COCOBBOBDataArchive(COCODataArchive) class documentationcocopp.archiving
          
          (View In Hierarchy)
        
      list of archived data for the 'bbob' test suite.
To see the list of all data from 2009:
>>> import cocopp >>> cocopp.archives.bbob.find("2009/") # doctest:+ELLIPSIS,+SKIP, ['2009/ALPS...
To use the above list in main:
>>> cocopp.main(cocopp.archives.bbob.get_all("2009/") # doctest:+SKIP
get_all downloads the data from the online archive if necessary.
While the data are specific to the COCOBBOBDataArchive class, all
functionality is inherited from the parent class COCODataArchive:
Inherited from COCODataArchive:
| Method | __init__ | Argument is a local path to the archive. | 
| Method | get_found | get full entries of the last find | 
| Method | get_all | Return a list(StrList) of absolute pathnames, | 
| Method | get_first | get the first archived data matching all of substrs. | 
| Method | get | return the full data pathname of substrin the archived data. | 
| Method | get_one | deprecated, for backwards compatibility only, use getinstead | 
| Method | get_extended | return a list of valid paths. | 
| Method | contains | return Trueif (the exact) name or path is in the archive | 
| Method | downloaded | return listof data set names of locally available data. | 
| Method | full_path | return full local path of nameor any path, idempotent | 
| Method | consistency_check_data | basic quick consistency check of downloaded data. | 
| Method | check_hash | raise Exception when hashes disagree or file is missing. | 
| Method | update | update definition file, either from remote location or from local data. | 
| Method | consistency_check_read | check/compare against definition file on disk | 
| Method | read_definition_file | return definition triple list | 
| Static Method | is_archive | return Trueiffoldercontains a COCO archive definition file | 
| Method | _download | create full local path and download single dataset | 
| Method | _name | return supposed name of full_path or name without any checks | 
| Method | _name_with_check | return name of full_path, idempotent. | 
| Method | _hash | compute hash of nameor path | 
| Method | _known_hash | return known hash or None | 
| Method | _url_ | return value of _url_ entry in definition_listfile orNone. |