Class ReleaseMiningDiffNodeFormat

java.lang.Object
org.variantsync.diffdetective.mining.formats.ReleaseMiningDiffNodeFormat
All Implemented Interfaces:
MiningNodeFormat, LinegraphFormat, DiffNodeLabelFormat<DiffLinesLabel>

public class ReleaseMiningDiffNodeFormat extends Object implements MiningNodeFormat
Formats for DiffNodes for mining. The label of a node starts with c (for code) if it is an artifact node and with m (for macro) otherwise. The label of artifact nodes is followed by the index of its matched edit class. The label of diff nodes is followed by the ordinal of its diff type and the ordinal of its node type. Examples: DiffNode with nodeType=ARTIFACT and edit class AddWithMapping gets the label "c1" because AddWithMapping has index 1. DiffNode with nodeType=ELSE and difftype=REM gets the label "m23" because the ordinal or REM is 2 and the ordinal of ELSE is 3.