Record Class STNU.MDEM4RCInfo
java.lang.Object
java.lang.Record
it.univr.di.cstnu.algorithms.STNU.MDEM4RCInfo
- Record Components:
rigidComponents- rigid components collapsed before running M4's dispatchability phase.rep- representative map for nodes in rigid components.offset- distance from each representative to each node in its rigid component.
- Enclosing class:
STNU
static record STNU.MDEM4RCInfo(@Nonnull it.unimi.dsi.fastutil.objects.ObjectList<it.unimi.dsi.fastutil.objects.ObjectList<LabeledNode>> rigidComponents, @Nonnull it.unimi.dsi.fastutil.objects.Object2ObjectMap<LabeledNode, LabeledNode> rep, @Nonnull it.unimi.dsi.fastutil.objects.Object2IntMap<LabeledNode> offset)
extends Record
Data returned by
STNU.mdeM4b4ManageRCsForStnDisp(MDELocalInfoM3, Instant).- Version:
- $Rev: 1178 $
- Author:
- Roberto Posenato
-
Constructor Summary
ConstructorsConstructorDescriptionMDEM4RCInfo(it.unimi.dsi.fastutil.objects.ObjectList<it.unimi.dsi.fastutil.objects.ObjectList<LabeledNode>> rigidComponents, it.unimi.dsi.fastutil.objects.Object2ObjectMap<LabeledNode, LabeledNode> rep, it.unimi.dsi.fastutil.objects.Object2IntMap<LabeledNode> offset) Creates an instance of aMDEM4RCInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.it.unimi.dsi.fastutil.objects.Object2IntMap<LabeledNode> offset()Returns the value of theoffsetrecord component.it.unimi.dsi.fastutil.objects.Object2ObjectMap<LabeledNode, LabeledNode> rep()Returns the value of thereprecord component.it.unimi.dsi.fastutil.objects.ObjectList<it.unimi.dsi.fastutil.objects.ObjectList<LabeledNode>> Returns the value of therigidComponentsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MDEM4RCInfo
MDEM4RCInfo(@Nonnull it.unimi.dsi.fastutil.objects.ObjectList<it.unimi.dsi.fastutil.objects.ObjectList<LabeledNode>> rigidComponents, @Nonnull it.unimi.dsi.fastutil.objects.Object2ObjectMap<LabeledNode, LabeledNode> rep, @Nonnull it.unimi.dsi.fastutil.objects.Object2IntMap<LabeledNode> offset) Creates an instance of aMDEM4RCInforecord class.- Parameters:
rigidComponents- the value for therigidComponentsrecord componentrep- the value for thereprecord componentoffset- the value for theoffsetrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
rigidComponents
@Nonnull public it.unimi.dsi.fastutil.objects.ObjectList<it.unimi.dsi.fastutil.objects.ObjectList<LabeledNode>> rigidComponents()Returns the value of therigidComponentsrecord component.- Returns:
- the value of the
rigidComponentsrecord component
-
rep
-
offset
-