class documentation
class COCOBBOBNoisyDataArchive(COCODataArchive):
Constructor: COCOBBOBNoisyDataArchive(local_path)
This class "contains" archived data for the 'bbob-noisy' suite.
>>> import cocopp >>> cocopp.archives.bbob_noisy # doctest:+ELLIPSIS,+SKIP, ['2009/ALPS_hornby_noisy.tgz',... >>> isinstance(cocopp.archives.bbob_noisy, cocopp.archiving.COCOBBOBNoisyDataArchive) True
While the data are specific to COCOBBOBNoisyDataArchive
, all the
functionality is inherited from the parent class
COCODataArchive
:
Inherited from COCODataArchive
:
Static Method | is |
return True if folder contains a COCO archive definition file |
Method | __init__ |
Argument is a local path to the archive. |
Method | check |
raise Exception when hashes disagree or file is missing. |
Method | consistency |
basic quick consistency check of downloaded data. |
Method | consistency |
check/compare against definition file on disk |
Method | contains |
return True if (the exact) name or path is in the archive |
Method | full |
return full local path of name or any path, idempotent |
Method | get |
return the full data pathname of substr in the archived data. |
Method | get |
Return a list (StrList ) of absolute pathnames, |
Method | get |
return a list of valid paths. |
Method | get |
get the first archived data matching all of substrs . |
Method | get |
get full entries of the last find |
Method | get |
deprecated, for backwards compatibility only, use get instead |
Method | read |
return definition triple list |
Method | update |
update definition file, either from remote location or from local data. |
Instance Variable | local |
Undocumented |
Instance Variable | remote |
Undocumented |
Property | downloaded |
return list of data set names of locally available data. |
Method | _download |
create full local path and download single dataset |
Method | _hash |
compute hash of name or path |
Method | _known |
return known hash or None |
Method | _name |
return supposed name of full_path or name without any checks |
Method | _name |
return name of full_path , idempotent. |
Method | _url_ |
return value of _url_ entry in definition_list file or None . |
Instance Variable | _all |
Undocumented |
Instance Variable | _all |
Undocumented |
Instance Variable | _checked |
Undocumented |
Instance Variable | _names |
Undocumented |
Instance Variable | _print |
Undocumented |
Instance Variable | _redownload |
Undocumented |
Inherited from StrList
(via COCODataArchive
):
Method | __call__ |
alias to find |
Method | find |
return entries that match all substrs . |
Method | find |
same as find but returns indices instead of names |
Method | print |
print the result of find(*substrs) with indices. |
Property | as |
return space separated string concatenation surrounded by spaces. |
Property | found |
StrList of elements found during the last call to find . |