cocopp.archiving.COCOBBOBBiobjDataArchive(COCODataArchive)
class documentationcocopp.archiving
(View In Hierarchy)
This class "contains" archived data for the 'bbob-biobj' suite.
>>> import cocopp >>> cocopp.archives.bbob_biobj # doctest:+ELLIPSIS,+SKIP, ['2016/DEMO_Tusar_bbob-biobj.tgz', '2016/HMO-CMA-ES_Loshchilov_bbob-biobj.tgz',... >>> isinstance(cocopp.archives.bbob_biobj, cocopp.archiving.COCOBBOBBiobjDataArchive) True
While the data are specific to COCOBBOBBiobjDataArchive
, all the
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 substr in the archived data. |
Method | get_one | deprecated, for backwards compatibility only, use get instead |
Method | get_extended | return a list of valid paths. |
Method | contains | return True if (the exact) name or path is in the archive |
Method | downloaded | return list of data set names of locally available data. |
Method | full_path | return full local path of name or 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 True if folder contains 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 name or path |
Method | _known_hash | return known hash or None |
Method | _url_ | return value of _url_ entry in definition_list file or None . |