I understand that this may be a stupid question to some, but I've come to my wit's end trying to understand this condition:
if p ∈ (n, succ) then
I keep running across this in some pseudo code that I've been reading for the past 16 hours. I understand that '∈' typicaly symbolizes a set, such as 'p∈b' would make p an element of b, but how would I interpret 'p∈ (n, succ)'?
Full example
procedure n.Stabilize
p = succ.GetPredecessor
if p ∈ (n, succ) then
succ = p
end if
succ.Notify n
end procedure
procedure n.Notify p
if p ∈ (pred, n] then
pred = p
end if
end procedure
Note that the square bracket in 'if p ∈ (pred, n] then' is intended.
if$p \in {\text{n},\text{succ}}$then, i.e. with curly braces. – Lord_Farin Oct 12 '13 at 11:10