Class PerEditOperationStringNodeDataCostModel

    • Field Detail

      • delCost

        private final float delCost
        Stores the cost of deleting a node.
      • insCost

        private final float insCost
        Stores the cost of inserting a node.
      • renCost

        private final float renCost
        Stores the cost of mapping two nodes (renaming their labels).
    • Constructor Detail

      • PerEditOperationStringNodeDataCostModel

        public PerEditOperationStringNodeDataCostModel​(float delCost,
                                                       float insCost,
                                                       float renCost)
        Initialises the cost model with the passed edit operation costs.
        Parameters:
        delCost - deletion cost.
        insCost - insertion cost.
        renCost - rename cost.