ILSResult#

class causalbase.order.ILSResult(order, score, iterations, accepted, trace=<factory>, improvements=<factory>)[source]#

Best order and score, and the anytime trace (seconds, iteration, best score).

Iteration 0 is the first local search from the start order. improvements holds one entry per strict improvement after it: the iteration, the gain, the transpositions applied (pairs of variables) and the nodes whose parent set changed with respect to the previous best.