chiark / gitweb /
strategy: define w (as w(P) rather than w(H)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 10 Aug 2013 17:21:13 +0000 (18:21 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 10 Aug 2013 17:21:13 +0000 (18:21 +0100)
ranking.tex
strategy.tex

index 1dfb63a3d183031eb95989fa0d08c5c6e1898295..3d546608c31815ab462292b32d97f2b8465f3031 100644 (file)
@@ -27,7 +27,7 @@ $$
          \{ \baseof{E} \; | \; E \in \pendsof{\allsrcs}{\pcy} \}
 $$
 
-and $W \iassign w(h(\pcn))$
+and $W \iassign w(\pcn)$
 
 \item While $\exists_{S \in \set S} S \ge W$,
 update $W \assign S$ and $\set S \assign \set S \, \backslash \{ S \}$
index e2017c34c3fcd516d308438ab5c6f33f3b577583..2f676bb7808acc38e7e6033cf437d260fd6a178f 100644 (file)
@@ -84,6 +84,12 @@ all of its dependencies will be updated.
 \item[ $h : \pc^{+/-} \mapsto \set H^{\pc^{+/-}}$ ]
 Function for getting the existing heads $\set H$ of the branch $\pc^{+/-}$.
 
+\item[ $w : \pc^{+/-} \mapsto \set W_0^{\pc^{+/-}}$ ]
+
+Function for getting the existing local head of the branch
+$\pc^{+/-}$.  I.e., the current value of the branch ref for $\pc^{+/-}$.
+$W_0^{\pc^{+/-}} \in \set H$.
+
 \item[ $g : \pc, \Gamma \mapsto \Gamma'$ ]
 Function to allow explicit adjustment of the direct dependencies
 of $\pc$.  It is provided with a putative set of direct dependencies