graphid.api module¶
- class graphid.api.GraphID[source]¶
Bases:
NiceRepr
Public API for the Graph ID algorithm
Example
>>> # DISABLE_DOCTEST >>> for query in iter(self): >>> feedback = oracle.review(query) >>> self.add_feedback(feedback)
- peek(n=0)[source]¶
Look at the next n items in the priority queue. When n=0 we only return one item, otherwise we return a list of items. (Note: We only make gaurentees about the first)