add javadoc to core.problem.Capacity