priorknowledge/loom — pull request #93 by fritzo (2014-11-07 00:26:55+00:00)
Title: Clean up QuerySserver::call(...ScoreDerivative...)

@jglidden I just factored out a couple helper classes: `QuerServer::Scorer` and `QueryServer::AssignmentHypothesis`. The `AssignmentHypothesis` uses RAII [1] analogously to python context managers. There was one error in a counter, a stray `i++`.

[1] http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization