Is there an example that uses BendableScore?
I'm trying to convert my app from using HardSoftScore to BendableScore and
I've run into my first issue:
Changing from:
@XStreamConverter(value = XStreamScoreConverter.class, types =
{HardSoftLongScoreDefinition.class})
to
@XStreamConverter(value = XStreamScoreConverter.class, types =
{BendableScoreDefinition.class})
throws:
Caused by: java.lang.IllegalArgumentException: The scoreDefinitionClass
(class
org.optaplanner.core.impl.score.buildin.bendable.BendableScoreDefinition)
does not have a public no-arg constructor.
The answer to this issue would be helpful but I'll probably hit other bumps
along the way. Does anyone have an example that uses BendableScore?
Thanks,
Jon
--
View this message in context:
http://drools.46999.n3.nabble.com/Optaplanner-No-arg-constructor-for-BendableScoreDefinition-tp4023523.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users