Package graphql.schema.diffing
Class DiffImpl.OptimalEdit
- java.lang.Object
-
- graphql.schema.diffing.DiffImpl.OptimalEdit
-
- Enclosing class:
- DiffImpl
public static class DiffImpl.OptimalEdit extends java.lang.Object
An optimal edit from one graph to another. The mapping maps all vertices from source to target, but not all mappings represent an actual change. This is why there is a separate list of the actual changes.
-
-
Constructor Summary
Constructors Constructor Description OptimalEdit(SchemaGraph completeSourceGraph, SchemaGraph completeTargetGraph)
OptimalEdit(SchemaGraph completeSourceGraph, SchemaGraph completeTargetGraph, Mapping mapping, int ged)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<EditOperation>
getListOfEditOperations()
-
-
-
Field Detail
-
mapping
public Mapping mapping
-
ged
public int ged
-
-
Constructor Detail
-
OptimalEdit
public OptimalEdit(SchemaGraph completeSourceGraph, SchemaGraph completeTargetGraph)
-
OptimalEdit
public OptimalEdit(SchemaGraph completeSourceGraph, SchemaGraph completeTargetGraph, Mapping mapping, int ged)
-
-
Method Detail
-
getListOfEditOperations
public java.util.List<EditOperation> getListOfEditOperations()
-
-