@Override public PackingPlan pack(){
  Map<Integer,List<InstanceId>> ffdAllocation=getFFDAllocation();
  Map<String,Long> ramMap=TopologyUtils.getComponentRamMapConfig(topology);
  Set<PackingPlan.ContainerPlan> containerPlans=PackingUtils.buildContainerPlans(ffdAllocation,ramMap,this.defaultInstanceResources,this.paddingPercentage);
  return new PackingPlan(topology.getId(),containerPlans);
}

@ Override public PackingPlan pack ( ) { Map < Integer , List < InstanceId > > ffdAllocation = getFFDAllocation ( ) ; Map < String , Long > ramMap = TopologyUtils . getComponentRamMapConfig ( topology ) ; Set < PackingPlan . ContainerPlan > containerPlans = PackingUtils . buildContainerPlans ( ffdAllocation , ramMap , this . defaultInstanceResources , this . paddingPercentage ) ; return new PackingPlan ( topology . getId ( ) , containerPlans ) ; }
get a packing plan using first fit decreasing
