ScaledUpdateNormalization extends RelatedTweetUpdateNormalization { @Override public double computeScoreNormalization(double cooccurrence, int similarNodeDegree, int nodeDegree) { return 1.0 / (Math.sqrt(similarNodeDegree) * Math.sqrt(Math.abs(similarNodeDegree - nodeDegree) + 1.0)); }  @Override double computeLeftNeighborContribution(int leftNodeDegree); @Override double computeScoreNormalization(double cooccurrence, int similarNodeDegree,
      int nodeDegree);  }
@Test public void testComputeScoreNormalization() { assertEquals(0.2886751345948129, new ScaledUpdateNormalization().computeScoreNormalization(2, 4, 6), 0.01 ); }