of

fun of(solution: Solution): PLPSolutionView<*, *>

Builds the PLPSolutionView subclass (YesViewPLP, NoViewPLP, or HaltViewPLP) matching the kind of solution.