A Scoring Engine is an executable that has a well-defined input, a well-defined output, and performs a purely mathematical task. That is, the calculation does not depend on the environment in which it is running - it would produce the same result anywhere.
Because there might be multiple algorithms used to build a particular data model (and therefore a scoring engine), the usage of scoring engine might vary. A metainfo field is supposed to contain any information which might be needed by the user of a given scoring engine.
None
Bases: watcher.api.controllers.base.APIBase
API representation of a scoring engine.
This class enforces type checking and value constraints, and converts between the internal object model and the API representation of a scoring engine.
ScoringEngine.
convert_with_links
(scoring_engine, expand=True)¶ScoringEngine.
sample
(expand=True)¶None
Bases: watcher.api.controllers.v1.collection.Collection
API representation of a collection of scoring engines.
ScoringEngineCollection.
convert_with_links
(scoring_engines, limit, url=None, expand=False, **kwargs)¶ScoringEngineCollection.
sample
()¶None
Bases: pecan.rest.RestController
REST controller for Scoring Engines.
ScoringEngineController.
detail
(marker=None, limit=None, sort_key='id', sort_dir='asc')[source]¶Retrieve a list of Scoring Engines with detail.
Parameters: |
|
---|
ScoringEngineController.
get_all
(marker=None, limit=None, sort_key='id', sort_dir='asc')[source]¶Retrieve a list of Scoring Engines.
Parameters: |
|
---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.