RelationSet

com.phasmidsoftware.xmldoc.merge.RelationSet
case class RelationSet(pcs: Set[Pcs], content: Set[Content])

A tree, fully decomposed into Pcs and Content relations - Lindholm's representation of a tree as a set (section 2.3), which is what let his merge algorithm be defined as set operations (union, difference) rather than a tree-editing procedure. This is the foundation for an eventual MERGE.md-style merge that (unlike today's attribute-only EditDetector/Merger) can also detect and reconcile structural edits: moves and reordering (Kaining's 03-single-move, 05-move-move-divergent, 09-zorder cases).

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product