OpenQuizz
Une application de gestion des contenus pédagogiques
BaseReporter Class Reference
Inheritance diagram for BaseReporter:
Collaboration diagram for BaseReporter:

Public Member Functions

def starting (self)
 
def starting_round (self, index)
 
def ending_round (self, index, state)
 
def ending (self, state)
 
def adding_requirement (self, requirement, parent)
 
def backtracking (self, candidate)
 
def pinning (self, candidate)
 

Detailed Description

Delegate class to provider progress reporting for the resolver.

Member Function Documentation

◆ adding_requirement()

def adding_requirement (   self,
  requirement,
  parent 
)
Called when adding a new requirement into the resolve criteria.

:param requirement: The additional requirement to be applied to filter
    the available candidaites.
:param parent: The candidate that requires ``requirement`` as a
    dependency, or None if ``requirement`` is one of the root
    requirements passed in from ``Resolver.resolve()``.

Reimplemented in PipDebuggingReporter.

◆ backtracking()

def backtracking (   self,
  candidate 
)
Called when rejecting a candidate during backtracking.

Reimplemented in PipDebuggingReporter, and PipReporter.

◆ ending()

def ending (   self,
  state 
)
Called before the resolution ends successfully.

Reimplemented in PipDebuggingReporter.

◆ ending_round()

def ending_round (   self,
  index,
  state 
)
Called before each round of resolution ends.

This is NOT called if the resolution ends at this round. Use `ending`
if you want to report finalization. The index is zero-based.

Reimplemented in PipDebuggingReporter.

◆ pinning()

def pinning (   self,
  candidate 
)
Called when adding a candidate to the potential solution.

Reimplemented in PipDebuggingReporter.

◆ starting()

def starting (   self)
Called before the resolution actually starts.

Reimplemented in PipDebuggingReporter.

◆ starting_round()

def starting_round (   self,
  index 
)
Called before each round of resolution starts.

The index is zero-based.

Reimplemented in PipDebuggingReporter.


The documentation for this class was generated from the following file: