* XML based configuration that builds a {@link Solver}.
*/
public class XmlSolverFactory {
public static XStream buildXstream() {
XStream xStream = new XStream(new PureJavaReflectionProvider(new FieldDictionary(new NativeFieldKeySorter())));
xStream.setMode(XStream.ID_REFERENCES);
xStream.processAnnotations(SolverConfig.class);
xStream.processAnnotations(CustomSolverPhaseConfig.class);
xStream.processAnnotations(BruteForceSolverPhaseConfig.class);
xStream.processAnnotations(ConstructionHeuristicSolverPhaseConfig.class);