Class DistanceMatrixPrinter

java.lang.Object
org.dkpro.statistics.agreement.visualization.DistanceMatrixPrinter

public class DistanceMatrixPrinter
extends java.lang.Object
Plain-text visualization for distance functions showing the distance scores between each pair of categories.
Author:
Christian M. Meyer
See Also:
IDistanceFunction
  • Constructor Summary

    Constructors 
    Constructor Description
    DistanceMatrixPrinter()  
  • Method Summary

    Modifier and Type Method Description
    protected void doPrint​(java.io.PrintStream out, java.lang.Iterable<java.lang.Object> categories, ICodingAnnotationStudy study, IDistanceFunction distanceFunction)  
    void print​(java.io.PrintStream out, java.lang.Iterable<java.lang.Object> categories, IDistanceFunction distanceFunction)
    Print a matrix of the distances between each pair of categories.
    void print​(java.io.PrintStream out, ICodingAnnotationStudy study, IDistanceFunction distanceFunction)
    Print a matrix representation of the distances between each pair of categories of the given study.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • print

      public void print​(java.io.PrintStream out, java.lang.Iterable<java.lang.Object> categories, IDistanceFunction distanceFunction)
      Print a matrix of the distances between each pair of categories.
    • print

      public void print​(java.io.PrintStream out, ICodingAnnotationStudy study, IDistanceFunction distanceFunction)
      Print a matrix representation of the distances between each pair of categories of the given study.
    • doPrint

      protected void doPrint​(java.io.PrintStream out, java.lang.Iterable<java.lang.Object> categories, ICodingAnnotationStudy study, IDistanceFunction distanceFunction)