Solver uses an instance of me to compare a recomputed ErrorTabulator with a reported SSE.

I keep track of best-SSE reports and indicate when its own re-computation of the SSE differs from what the report said the SSE was.

ParametersusingETSet True if Solver.evaluate returns an instance of ErrorTabulator as the SSE instead of a float.
Method __init__ Undocumented
Method check Call this with a fully populated instance of ErrorTabulator from a recomputation of SSE, along with a reported SSE.
Method processComplaint Called with an individual i and a discrepant result from the recomputation of that individual's values. Logs an error message about the discrepancy.
def __init__(self, verbose=False, usingET=False):
Undocumented
def check(self, et, SSE):

Call this with a fully populated instance of ErrorTabulator from a recomputation of SSE, along with a reported SSE.

Returns a 3-tuple with (1) the result that the Solver instance I serve should return from its report callback, (2) the text that it should use as a prelude to its pretty-printed values if this is a legit report, and (3) the text, if any, that it should log after the reports are done being processed.

Some details about the 3-tuple items:

  1. The result is (None is there was not too much of an SSE difference. If there was, the result is the sse.Result instance result of et.
  2. The prelude text is None if this report should be ignored because it really isn't the best SSE I've seen yet, and there's no SSE discrepancy to talk about.
  3. The post-report text is None unless ErrorTabulator instances are being used for the reported SSEs and there is an SSE discrepancy to describe in detail.
def processComplaint(self, i, result):

Called with an individual i and a discrepant result from the recomputation of that individual's values. Logs an error message about the discrepancy.

API Documentation for pingspice, generated by pydoctor at 2021-09-18 08:41:11.