Package com.powsybl.sld.layout
Class LBSCluster
- java.lang.Object
-
- com.powsybl.sld.layout.LBSCluster
-
public class LBSCluster extends Object
LBSCluster contains a list of LegBusSets (LBS) that is orderly build by successively merging LBSCluster initially containing a single LBS. LBSCluster handles the building of the horizontalBusLanes that are an horizontal strings of busNodes.- Author:
- Benoit Jeanson
-
-
Constructor Summary
Constructors Constructor Description LBSCluster(LegBusSet lbs, int nb)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<LBSCluster>
createLBSClusters(List<LegBusSet> legBusSets)
void
establishBusNodePosition()
List<HorizontalBusLane>
getHorizontalBusLanes()
HorizontalBusLane
getHorizontalLaneFromSideBus(BusNode busNode, Side side)
List<InternCell>
getInternCellsFromShape(InternCell.Shape shape)
List<LegBusSet>
getLbsList()
int
getLength()
List<InternCell>
getSideCandidateFlatCell(Side side)
List<BusNode>
laneSideBuses(Side side)
static List<BusNode>
laneSideBuses(Side side, List<HorizontalBusLane> horizontalBusLaneList)
void
merge(Side myConcernedSide, LBSCluster otherLbsCluster, Side otherSide, HorizontalBusLaneManager hblManager)
void
removeHorizontalBusLane(HorizontalBusLane lane)
void
sortHorizontalBusLanesByVPos()
String
toString()
-
-
-
Constructor Detail
-
LBSCluster
public LBSCluster(LegBusSet lbs, int nb)
-
-
Method Detail
-
createLBSClusters
public static List<LBSCluster> createLBSClusters(List<LegBusSet> legBusSets)
-
merge
public void merge(Side myConcernedSide, LBSCluster otherLbsCluster, Side otherSide, HorizontalBusLaneManager hblManager)
-
laneSideBuses
public static List<BusNode> laneSideBuses(Side side, List<HorizontalBusLane> horizontalBusLaneList)
-
removeHorizontalBusLane
public void removeHorizontalBusLane(HorizontalBusLane lane)
-
establishBusNodePosition
public void establishBusNodePosition()
-
getHorizontalLaneFromSideBus
public HorizontalBusLane getHorizontalLaneFromSideBus(BusNode busNode, Side side)
-
getSideCandidateFlatCell
public List<InternCell> getSideCandidateFlatCell(Side side)
-
getInternCellsFromShape
public List<InternCell> getInternCellsFromShape(InternCell.Shape shape)
-
sortHorizontalBusLanesByVPos
public void sortHorizontalBusLanesByVPos()
-
getLength
public int getLength()
-
getHorizontalBusLanes
public List<HorizontalBusLane> getHorizontalBusLanes()
-
-