OptaPlanner core 6.2.0.CR2

Interface PlanningCloneable<T>

public interface PlanningCloneable<T>

Tagging interface for a Solution that implements its own planning cloning instead of letting the default or a custom SolutionCloner do it.

Planning cloning is hard: avoid doing it yourself.

Method Summary
 T planningClone()
          Does a planning clone.

Method Detail


T planningClone()
Does a planning clone. A returned Solution clone must fulfill these requirements: Note that a class might support more than 1 clone method: planning clone is just one of them.

never null, the cloned Solution

OptaPlanner core 6.2.0.CR2

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.