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

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

There is a newer version: 1.2024.8
Show newest version
????7?8org/eclipse/elk/alg/layered/p2layers/StretchWidthLayererjava/lang/Object%org/eclipse/elk/core/alg/ILayoutPhasewidthCurrentDwidthUpmaxWidthcurrentGraph*Lorg/eclipse/elk/alg/layered/graph/LGraph;upperLayerInfluencesortedLayerlessNodesLjava/util/List;	Signature;Ljava/util/List;alreadyPlacedNodesLjava/util/Set;:Ljava/util/Set;alreadyPlacedInOtherLayerstempLayerlessNodes
successorsLLjava/util/List;>;	outDegree[IremainingOutGoinginDegreeselectedNode)Lorg/eclipse/elk/alg/layered/graph/LNode;minimumNodeSizemaximumNodeSizenormSize[D	dummySize()VCode
($%	*	,		.

021com/google/common/collect/Sets34
newHashSet()Ljava/util/HashSet;	6	8LineNumberTableLocalVariableTablethis:Lorg/eclipse/elk/alg/layered/p2layers/StretchWidthLayerer;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;
ACB5org/eclipse/elk/core/alg/LayoutProcessorConfigurationDEcreate9()Lorg/eclipse/elk/core/alg/LayoutProcessorConfiguration;	GIH)org/eclipse/elk/alg/layered/LayeredPhasesJKP1_CYCLE_BREAKING+Lorg/eclipse/elk/alg/layered/LayeredPhases;	MONForg/eclipse/elk/alg/layered/intermediate/IntermediateProcessorStrategyPQ'EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSERHLorg/eclipse/elk/alg/layered/intermediate/IntermediateProcessorStrategy;
ASTU	addBefore{(Ljava/lang/Enum;Lorg/eclipse/elk/core/alg/ILayoutProcessorFactory;)Lorg/eclipse/elk/core/alg/LayoutProcessorConfiguration;	GWXKP2_LAYERING	MZ[QLAYER_CONSTRAINT_PREPROCESSOR	G]^KP3_NODE_ORDERING	M`aQLAYER_CONSTRAINT_POSTPROCESSORgraphprocess\(Lorg/eclipse/elk/alg/layered/graph/LGraph;Lorg/eclipse/elk/core/util/IElkProgressMonitor;)VfStretchWidth layeringhji-org/eclipse/elk/core/util/IElkProgressMonitorklbegin(Ljava/lang/String;F)Z
npo(org/eclipse/elk/alg/layered/graph/LGraphqrgetLayerlessNodes()Ljava/util/List;tvujava/util/ListwxisEmpty()Zhz{%done	}?	???	? 	???2org/eclipse/elk/alg/layered/options/LayeredOptions??SPACING_EDGE_EDGE,Lorg/eclipse/elk/graph/properties/IProperty;
n???getProperty@(Lorg/eclipse/elk/graph/properties/IProperty;)Ljava/lang/Object;?java/lang/Double
????doubleValue()D	?#
??%computeSortedNodes
??%computeSuccessors
??%computeDegrees
??%minMaxNodeSize
??%computeNormalizedSize
???java/lang/Math??max(DD)D
???getAverageOutDegree()F	?
?'org/eclipse/elk/alg/layered/graph/Layer
??$?-(Lorg/eclipse/elk/alg/layered/graph/LGraph;)V
n??r	getLayerst???add(Ljava/lang/Object;)Z	?
???com/google/common/collect/Lists??newArrayList+(Ljava/lang/Iterable;)Ljava/util/ArrayList;	?	?
???java/util/Arrays??copyOf([II)[I	?
???
selectNode+()Lorg/eclipse/elk/alg/layered/graph/LNode;	?
??x
conditionGoUp?v?
java/util/Set
???updateOutGoing,(Lorg/eclipse/elk/alg/layered/graph/Layer;)V????addAll(Ljava/util/Collection;)Z???%cleart?
???'org/eclipse/elk/alg/layered/graph/LNode??setLayert???remove??	????idI	?!"	?
???java/util/Collectionsreverse(Ljava/util/List;)VlayeredGraphprogressMonitor/Lorg/eclipse/elk/core/util/IElkProgressMonitor;currentLayer)Lorg/eclipse/elk/alg/layered/graph/Layer;
StackMapTableaZbt
iterator()Ljava/util/Iterator;java/util/Iteratornext()Ljava/lang/Object;xhasNextnode
getRank>(Lorg/eclipse/elk/alg/layered/graph/LNode;)Ljava/lang/Integer;
 java/lang/Integer!"intValue()I$:org/eclipse/elk/alg/layered/p2layers/StretchWidthLayerer$1
#&$'=(Lorg/eclipse/elk/alg/layered/p2layers/StretchWidthLayerer;)V
?)*+sort)(Ljava/util/List;Ljava/util/Comparator;)V
unsortedNodesLocalVariableTypeTable
?/01getOutgoingEdges()Ljava/lang/Iterable;
354#com/google/common/collect/Iterables67size(Ljava/lang/Iterable;)I
?9:1getIncomingEdges<=java/lang/Iterable?'org/eclipse/elk/alg/layered/graph/LEdge
>ABC	getSource+()Lorg/eclipse/elk/alg/layered/graph/LPort;
EGF'org/eclipse/elk/alg/layered/graph/LPortH?getNode
?J?K(II)I
MNOvalueOf(I)Ljava/lang/Integer;tempprepreEdge)Lorg/eclipse/elk/alg/layered/graph/LEdge;
?U?V()Ljava/util/ArrayList;	X
>Z[C	getTarget??
0^3_)(Ljava/lang/Iterable;)Ljava/util/HashSet;icurrSuccedgetd6"
?fghgetType4()Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;	jlk0org/eclipse/elk/alg/layered/graph/LNode$NodeTypemnNORMAL2Lorg/eclipse/elk/alg/layered/graph/LNode$NodeType;
?pqrgetSize%()Lorg/eclipse/elk/core/math/KVector;	tvu!org/eclipse/elk/core/math/KVectorwy
?yz?minavereageNodeSizesumallOutF
???rgetNodesposD(Ljava/lang/Object;Lorg/eclipse/elk/core/util/IElkProgressMonitor;)V
?cdK(Ljava/lang/Object;)Lorg/eclipse/elk/core/alg/LayoutProcessorConfiguration;
?=>
SourceFileStretchWidthLayerer.java?Ljava/lang/Object;Lorg/eclipse/elk/core/alg/ILayoutPhase;InnerClassesNodeTypeNestMembers!	

 !"#$%&d"*?'*?)*?+*?-*?/?5*?/?7?9+-	/5=?!+:";<=>?&{?@?F?L?R?V?Y?R?\?_?R?9.efg	fhihjkje:;<bcd&v5,e?gW+?m?s?
,?y?*+?|*?)*?+*~??*???*+??????????*??*??*??*??*??**??????**??????*Y??*??o??**??*??o?-**???????Y*?|??N*?|??-??W**??????**??*?ɾ?˵ѧC**?ӵ?*???*?ٙU*?5???I*-?߻?Y*?|??N*?|??-??W*?7*?5??W*?5??**?+?)*?+??*?ٙm*?|??????Y*?|??N*?|??-??W*?)*?+*?5??*?7??*Y?-c?-**??????**??*?ɾ?˵ѧj*??-??*??*?׹?W*?5*?׹?W**?)*??*?״?.?*??kg*??*?״?1c?)*Y?+*??*?״?.?*??kc?+*?ǹs???+?m??+????,?y?9?9p
stuy"{'|,3?:?K?O?S?W?[?_?k?w?????????????????????????!?*?2?7?:?A?M?Y?g?l?q?z?????????????????????'?.?4?:*5;<55?????!?E?p?f?x&?m*?)*??*?״?.?*??kg*??*?״?1c*?-???<*?+*??*?״?.?*??kc*?-*??k*??k???=?	???9?2?a?: m;<2;	a
	0@?-@?
??&?0*?ǹM?,???L*??+??.?+?,?????9??#?%?.?:0;<?
?%&?I*?|?mL*+????+?N?-???M,*,????-????*???#Y*?%?(?9
$0
9H: I;<A,$-A,?t&?J+?.?2=+?8?;:?(??>:?@?D:?.?2>?I=?????L?9%*"+,,5-;*E0:>J;<JB??5P?,Q"RS??$?%&e?<*?T?W?/M*???:?e???N-??-?.?;:???>:,?Y?D??W????,-?\W*?W,?]??W,????????9:89	:
<&=+>E?T>^BfCtDzE}<?G:4?;<?`?
{a&WEbS-
{a???????(??%&?_**???c?
??**???c?
??*???M?-,???L*??+??+?8?2O*??+??+?.?2O,???б9NOQ5RESUQ^U:_;<5 ?+)?%&?N*???M?:,???L+?e?i??#+?o?sJ**??)?x??**??)????,???ñ9"`a!b$d,e8fD`Mh: N;<-,6.?
???{?&?>H*???:????N'*??-??1cH????'*???c?o?9qrs'r1u: >;<<|??%&?E**???c???*???M?",???L*??+??+?o?s*??oR,???۱9~&?;D?:E;<&???&?@D*?|?m?N?-???M#,?.?2?bD-????#*?|?m?c?n?9???'?0?: @;<>}~???&b+??N?N-???M,?8?;:?,??>:?@?D??6*??*??.dO????-?????9??1?>?N?X?a?:4b;<bA1bS>??<?
????(?	?Ac?&*
*+?n,???9:A=?&)	*+?n???9:????j??@#?#




© 2015 - 2024 Weber Informatics LLC | Privacy Policy