private ITCIdentity(itc.Identity impl) { m_impl = impl; m_causalParent = this; }
internal ITCIdentity(itc.Identity impl, ITCIdentity causalParent) { m_impl = impl; m_causalParent = causalParent; }
private static void RecursiveDebugString(StringBuilder sb, itc.Identity id, int depth, int maxDepth) { if (id.IsSimplex()) { for (int ii = 0; ii < (1 << (maxDepth - depth)); ++ii ) sb.AppendFormat("{0}|", (id.IsOne() ? 1 : 0)); } else { RecursiveDebugString(sb, id.Left, depth + 1, maxDepth); RecursiveDebugString(sb, id.Right, depth + 1, maxDepth); } }