[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Change the semantics of the ~n path component: it now ...
Update of /home/minion/cvsroot/doc/spec
In directory moria.mit.edu:/tmp/cvs-serv4370
Modified Files:
path-spec.txt
Log Message:
Change the semantics of the ~n path component: it now means at least one random hop.
Ignore *0 path components
Index: path-spec.txt
===================================================================
RCS file: /home/minion/cvsroot/doc/spec/path-spec.txt,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- path-spec.txt 11 Nov 2003 20:38:59 -0000 1.6
+++ path-spec.txt 11 Nov 2003 21:06:52 -0000 1.7
@@ -276,8 +276,8 @@
of server descriptors, where N is the decimal integer in the
RandomHops component.
- - A GaussianHops component is satisfied by any sequence of
- server descriptors.
+ - A GaussianHops component is satisfied by any non-empty sequence
+ of server descriptors.
3.3. Specification validity
@@ -331,6 +331,9 @@
Outputs: A valid path.
+ 0. Remove any RandomHops components that are zero hops
+ long (i.e. "*0").
+
1. If the last component of PATH is a ByNickname component, then
verify that the corresponding server:
@@ -361,13 +364,14 @@
- Expand each "~K" GaussianHops component into a
sequence of _approximately_ K RandomHop components,
choosing from a Gaussian distribution with mean K
- and standard deviation 1.5.
+ and standard deviation 1.5. A GaussianHops component
+ expands into at least 1 RandomHop component.
- If the last component in the resulting path is a
RandomHop component, and we selected a random exit
hop in step 2 above, then remove the last component.
If the last component in the resulting path is a
- ByNickname component, and we chose the corresponding
+ ByNickname component, and we chose the corresponding
server in step 1 above, remove the last component.
Call the resulting expanded path specifier "ESPEC".