Lighweight representation of the VectorTime clock suitable for network transport
author: Vladimir Blagojevic vladimir@cs.yorku.ca version: $Revision: 1.5 $
public TransportedVectorTime(int senderIndex, int[] values)(Code)
Constructs TransportedVectorTime with sender index and vector values
Parameters: senderIndex - index of the sender of the message Parameters: values - vector values
Checks if this TransportedVectorTimeis equal to the specified TransportedVectorTime.
The check is done as follows:
VT1==VT2 iff for every i:1..k VT1[i]==VT2[i]
Parameters: other - TransportedVectorTimebeing compared with this. true if the equation given above is true, false otherwise