All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.elk.alg.layered.p2layers.MinWidthLayerer.class Maven / Gradle / Ivy

????7?4org/eclipse/elk/alg/layered/p2layers/MinWidthLayererjava/lang/Object%org/eclipse/elk/core/alg/ILayoutPhaseUPPERBOUND_ON_WIDTH_RANGE!Lcom/google/common/collect/Range;	Signature6Lcom/google/common/collect/Range;COMPENSATOR_RANGE	dummySizeDminimumNodeSizenormSize[DavgSizeisSelfLoopTestHLorg/eclipse/elk/alg/layered/p2layers/MinWidthLayerer$SelfLoopPredicate;inDegree[I	outDegree()VCode
java/lang/IntegervalueOf(I)Ljava/lang/Integer;
!#"com/google/common/collect/Range$%closedO(Ljava/lang/Comparable;Ljava/lang/Comparable;)Lcom/google/common/collect/Range;	'	)LineNumberTableLocalVariableTable
.,0Forg/eclipse/elk/alg/layered/p2layers/MinWidthLayerer$SelfLoopPredicate
/2,39(Lorg/eclipse/elk/alg/layered/p2layers/MinWidthLayerer;)V	5this6Lorg/eclipse/elk/alg/layered/p2layers/MinWidthLayerer;getLayoutProcessorConfigurationc(Lorg/eclipse/elk/alg/layered/graph/LGraph;)Lorg/eclipse/elk/core/alg/LayoutProcessorConfiguration;?(Lorg/eclipse/elk/alg/layered/graph/LGraph;)Lorg/eclipse/elk/core/alg/LayoutProcessorConfiguration;
<>=5org/eclipse/elk/core/alg/LayoutProcessorConfiguration?@create9()Lorg/eclipse/elk/core/alg/LayoutProcessorConfiguration;	BDC)org/eclipse/elk/alg/layered/LayeredPhasesEFP1_CYCLE_BREAKING+Lorg/eclipse/elk/alg/layered/LayeredPhases;	HJIForg/eclipse/elk/alg/layered/intermediate/IntermediateProcessorStrategyKL'EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSERHLorg/eclipse/elk/alg/layered/intermediate/IntermediateProcessorStrategy;
<NOP	addBefore{(Ljava/lang/Enum;Lorg/eclipse/elk/core/alg/ILayoutProcessorFactory;)Lorg/eclipse/elk/core/alg/LayoutProcessorConfiguration;	BRSFP2_LAYERING	HUVLLAYER_CONSTRAINT_PREPROCESSOR	BXYFP3_NODE_ORDERING	H[\LLAYER_CONSTRAINT_POSTPROCESSORgraph*Lorg/eclipse/elk/alg/layered/graph/LGraph;process\(Lorg/eclipse/elk/alg/layered/graph/LGraph;Lorg/eclipse/elk/core/util/IElkProgressMonitor;)VbMinWidth layeringdfe-org/eclipse/elk/core/util/IElkProgressMonitorghbegin(Ljava/lang/String;F)Z
jlk(org/eclipse/elk/alg/layered/graph/LGraphmn	getLayers()Ljava/util/List;
jpqngetLayerlessNodes	sut2org/eclipse/elk/alg/layered/options/LayeredOptionsvw'LAYERING_MIN_WIDTH_UPPER_BOUND_ON_WIDTH,Lorg/eclipse/elk/graph/properties/IProperty;
jyz{getProperty@(Lorg/eclipse/elk/graph/properties/IProperty;)Ljava/lang/Object;
}~intValue()I	s??w8LAYERING_MIN_WIDTH_UPPER_LAYER_ESTIMATION_SCALING_FACTOR	s??wSPACING_EDGE_EDGE?java/lang/Double
????doubleValue()D	?
?	?
???java/util/List??iterator()Ljava/util/Iterator;???java/util/Iterator??next()Ljava/lang/Object;?'org/eclipse/elk/alg/layered/graph/LNode
????getType4()Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;	???0org/eclipse/elk/alg/layered/graph/LNode$NodeType??NORMAL2Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;
????getSize%()Lorg/eclipse/elk/core/math/KVector;	???!org/eclipse/elk/core/math/KVector?
y
???java/lang/Math??min(DD)D????hasNext()Z
????max???size	?	?	?	?
	????idI
????getIncomingEdges()Ljava/lang/Iterable;
???countEdgesExceptSelfLoops(Ljava/lang/Iterable;)I
????getOutgoingEdges
???precalcSuccessors((Ljava/util/Collection;)Ljava/util/List;?Oorg/eclipse/elk/alg/layered/p2layers/MinWidthLayerer$MinOutgoingEdgesComparator
?2
???java/util/Collections??reverseOrder.(Ljava/util/Comparator;)Ljava/util/Comparator;????sort(Ljava/util/Comparator;)V???
!???
lowerEndpoint()Ljava/lang/Comparable;
!???
upperEndpoint
???computeMinWidthLayeringH(IILjava/lang/Iterable;Ljava/util/List;)Lorg/eclipse/elk/core/util/Pair;
???org/eclipse/elk/core/util/Pair??getFirst
????	getSecond'org/eclipse/elk/alg/layered/graph/Layer
?,-(Lorg/eclipse/elk/alg/layered/graph/LGraph;)V
?setLayer,(Lorg/eclipse/elk/alg/layered/graph/Layer;)V?	
add(Ljava/lang/Object;)Z
?
reverse(Ljava/util/List;)V?clearddonelayeredGraphprogressMonitor/Lorg/eclipse/elk/core/util/IElkProgressMonitor;layersLjava/util/List;notInsertedupperBoundOnWidthcompensatornode)Lorg/eclipse/elk/alg/layered/graph/LNode;
numOfNodesinodeSuccessorsminWidthminNumOfLayerscandidateLayeringubwStartubwEndcStartcEndubwcresult Lorg/eclipse/elk/core/util/Pair;newWidthlayeringnewNumOfLayers	layerListcurrentLayer)Lorg/eclipse/elk/alg/layered/graph/Layer;LocalVariableTypeTable;Ljava/util/List;;Ljava/util/List;LLjava/util/List;>;MLjava/util/List;>;?Lorg/eclipse/elk/core/util/Pair;>;>;
StackMapTable?(Ljava/util/Collection;)Ljava/util/List;>;=?>java/util/Collection
@BAcom/google/common/collect/ListsCDnewArrayListWithCapacity(I)Ljava/util/ArrayList;=?
GIHcom/google/common/collect/SetsJK
newHashSet()Ljava/util/HashSet;M?Njava/lang/IterableP'org/eclipse/elk/alg/layered/graph/LEdge
/RSTapply,(Lorg/eclipse/elk/alg/layered/graph/LEdge;)Z
OVWX	getTarget+()Lorg/eclipse/elk/alg/layered/graph/LPort;
Z\['org/eclipse/elk/alg/layered/graph/LPort]^getNode+()Lorg/eclipse/elk/alg/layered/graph/LNode;`	a
java/util/SetnodesLjava/util/Collection;
successorsoutNodesLjava/util/Set;outEdgesLjava/lang/Iterable;edge)Lorg/eclipse/elk/alg/layered/graph/LEdge;ALjava/util/Collection;:Ljava/util/Set;?Ljava/lang/Iterable;(IILjava/lang/Iterable;Ljava/util/List;>;)Lorg/eclipse/elk/core/util/Pair;>;>;
@pqrnewArrayList()Ljava/util/ArrayList;
GtuvnewLinkedHashSet/(Ljava/lang/Iterable;)Ljava/util/LinkedHashSet;
xyz
selectNodeY(Ljava/util/Set;Ljava/util/List;Ljava/util/Set;)Lorg/eclipse/elk/alg/layered/graph/LNode;`|}remove`??isEmpty`???addAll(Ljava/util/Collection;)Z`
???(D)Ljava/lang/Double;
????ofF(Ljava/lang/Object;Ljava/lang/Object;)Lorg/eclipse/elk/core/util/Pair;
unplacedNodesubwConsiderSizeinDegoutDegalreadyPlacedInCurrentLayeralreadyPlacedInOtherLayerswidthCurrentwidthUpmaxWidth	realWidthcurrentSpanningEdgesgoingOutFromThisLayercurrentNode?Ljava/lang/Iterable;?(Ljava/util/Set;Ljava/util/List;>;Ljava/util/Set;)Lorg/eclipse/elk/alg/layered/graph/LNode;`?????get(I)Ljava/lang/Object;`???containsAlltargetsB(Ljava/lang/Iterable;)IedgesD(Ljava/lang/Object;Lorg/eclipse/elk/core/util/IElkProgressMonitor;)V
?_`K(Ljava/lang/Object;)Lorg/eclipse/elk/core/alg/LayoutProcessorConfiguration;
?89
SourceFileMinWidthLayerer.java?Ljava/lang/Object;Lorg/eclipse/elk/core/alg/ILayoutPhase;InnerClassesNodeTypeMinOutgoingEdgesComparatorSelfLoopPredicateNestMembers1		
	




A??? ?&??? ?(?*
fg+,C*?-*?/Y*?1?4?*XtX+6789	:{?;?A?G?M?Q?T?M?W?Z?M?*.|}~	}????|+67]^_`??,a?cW+?iN+?o:+?r?x??|6+???x??|6*+???x??????*?????:?4????:??????????9	**??	?????????**????????6*?
??*?
??*???6*????:
?i
????:		???*??	??*	?϶?O*??	??*	?׶?O*??	??	????*??oR*Y??*??	??1c??
?????*Y??*??o??*Y???o??*??:	??Y*?????9
?6:
6666??&????|6?&????|6??(????|6?(????|66?h6?W*	??:??????9????:??6
??
???9
6:
????????
??:?K????:??Y+?:??:?????:??????-?W?????-??,??*F?
???$?1?3?D?K?c?n?q?{??????????????????????????&?9?C?P?\?d?v?{?????????????????????????????????????'?+?/?3?=?G?_?i?????????????+$?67?^???$??3??c%{
?
	? ???!??Z	dS"	{<#

8$??5%
?1&??-'??)(??%)??o*??^+??C,-?6.
,/#0?_<1i223?4H?5?6dS"7	?5%8
?C,9,/8_<16:??W	jd????	jd?????	jd????Jjd????e?yjd???? ???Djd???????jd?????	?jd??????!jd?????????jd???????	;?	~+?<??M+?E:?`????N?F:-??:?L:?+???O:*?4?Q??U?Y?_W?????,?W?????,?*.
 %+CO_i r|#+H~67~bc
td R%Mef+GghCij4*~bk
td7%Mel+Ggm:K?=???!	=???`M?'?=????	nz_?o:-?s:?*??k96	6
?F:?F:?o:
999999?*?w:?z?{W
?W?_W*????.6
*????1
?*??kgc9*????.6		?*??kc9
?*??kc9*????1c9?6?~?,??*????1
?*??k???k??O
?W?o:
??W??g9*??kc??9c99999?~????????*?+DEILMTU$Y)],^/a2b5e8f;i>mHlJpOqYrcsmuyx?z?}????????????
???%?6?=?A?D?G?JiT?+?_67_?_?_bh_"ZT?fK?
H??	E??
@?f$;?f)62
,3?
/0?
2-?
5*?
8'?
;$?
J?4H_b?_"7Z8T?l@?l$;?l)626
:7?>M??```????,
?Kyz	??=+??:?)????:-,?˹??=??????????*??.?1?;?+4=67=bf=d=?f4 =bl=d7=?l:?`?`?%??	??2=+?L:????ON*?4-?Q????????*???#?&?0?+*2672?h0!?ij42?m:?
M?A_?*
*+?j,???*+A8?)	*+?j???*+??	?????@??/???/




© 2015 - 2024 Weber Informatics LLC | Privacy Policy