Esempio n. 1
0
 /** @inheritDoc */
 public Number getDistance(
     Attribute alpha,
     FrameSpan alphaSpan,
     Attribute beta,
     FrameSpan betaSpan,
     Attribute blackout,
     FrameSpan blackoutSpan,
     Attribute ignore,
     FrameSpan ignoreSpan,
     int frame,
     CanonicalFileDescriptor cfd)
     throws IgnoredValueException {
   Measurable.Difference D = null;
   try {
     D =
         helpGetDiff(
             alpha,
             alphaSpan,
             beta,
             betaSpan,
             blackout,
             blackoutSpan,
             ignore,
             ignoreSpan,
             frame,
             cfd,
             D);
   } catch (IgnoredValueException ivx) {
     throw new RuntimeException("Unexpected IgnoredValueException: " + ivx.getMessage());
   }
   return getDistance(D);
 }
Esempio n. 2
0
 /** @inheritDoc */
 public Number helpGetDistance(Measurable.Difference D) {
   try {
     return dist.helpGetDistance(
         D.getAlpha(), D.getBeta(), D.getBlackout(), D.getIgnore(), D.getFileInformation());
   } catch (IgnoredValueException ivx) {
     throw new RuntimeException("Unexpected exception: " + ivx.getMessage());
   }
 }
Esempio n. 3
0
 /** @inheritDoc */
 public Number getDistance(Measurable alpha, Measurable beta, CanonicalFileDescriptor cfd) {
   Measurable.Difference D = null;
   try {
     D = helpGetDiff(alpha, beta, null, null, cfd, D);
   } catch (IgnoredValueException ivx) {
     throw new RuntimeException("Unexpected IgnoredValueException: " + ivx.getMessage());
   }
   return getDistance(D);
 }