public interface IRelationshipController extends Serializable
void putRelation2CostItem(INode2NodeRelation rel, RelationShipCostItem cost)
INode2NodeRelation
in the map.rel
- the iNode2NodeRelationcost
- the double costMap<INode2NodeRelation,RelationShipCostItem> getRelation2CostItemMap()
INode2NodeRelations
and the linked cost
void setRelation2CostItemMap(Map<INode2NodeRelation,RelationShipCostItem> map)
INode2NodeRelation
to cost
item map.map
- the map to setvoid setRelationShipCost(double cost)
cost
- the double new relation ship costvoid addRelationShipCost(double addCost)
relationship cost
to the already existing relationship cost
.addCost
- the double cost to adddouble getRelationShipCost()
relationship cost
.IRelationshipController copy()
IRelationshipController
.void addRelationShipDetails(ILogicRouteElementDetailItem details)
ILogicRouteElementDetailItem
on the RelationshipController.node2DetailsPersistendMap
as well as on the RelationshipController.node2DetailsMap
.details
- the iLogicRouteElementDetailItem to addOptional<ILogicRouteElementDetailItem> getRelationShipDetails(IOptimizationElement el)
Optional
ILogicRouteElementDetailItem
.
If the RelationshipController.node2DetailsMap
is empty returns
RelationshipController.node2DetailsPersistendMap
.
el
- the iLogicRouteElementDetailItem of the ILogicRouteElementDetailItem
Map<IOptimizationElement,ILogicRouteElementDetailItem> getRelationShipDetailMap()
void setRelationShipDetailMap(Map<IOptimizationElement,ILogicRouteElementDetailItem> map)
IOptimizationElement
and the ILogicRouteElementDetailItem
.map
- the map to setMap<IOptimizationElement,ILogicRouteElementDetailItem> getPersistendRelationShipDetailMap()
IOptimizationElement
and the ILogicRouteElementDetailItem
.void setPersistentRelationShipDetailMap(Map<IOptimizationElement,ILogicRouteElementDetailItem> map)
IOptimizationElement
and the ILogicRouteElementDetailItem
.map
- the map to setIRelationshipController partialCopy()
IRelationshipController
.Copyright © 2017–2023 DNA Evolutions GmbH. All rights reserved.