- edgevalue renamed to weight
- resource has capacity and duration