Next: Graphs
Up: Time-Stamped Graphs and Their
Previous: Introduction
Trees
In this section we solve Problem 1.1 for trees
(undirected, connected graphs with no loops, multiple edges, or cycles).
In fact, we will give a solution using a restricted class of trees.
Let
and
be positive integers. Is there a tree
with
vertices
and an injective time-stamp function
such that the associated
influence digraph
has
arcs? Since a tree with
vertices has
edges,
we may restrict
to be a bijective function
.
Let
and
Theorem 2.1
Let
. Then
and
.
If
is a maximizer for
, then
is a caterpillar1; in addition,
for every caterpillar
, there is a time-stamp function
such that
is a maximizer for
.
If
is a minimizer for
, then
is a path.
Proof.
Since each edge induces two arcs in the associated influence digraph
and each path of length 2 induces at least one arc in
the associated influence digraph,

where

is the
number of paths of length 2 in

. We claim that
We first observe that the path with

edges gives

paths of length 2. We claim that this is the unique minimizer for

.
The proof is by induction, the base cases being trivial.
Let

be a minimizer for

with

edges, and assume that

is not a path.
Then

has a vertex

of degree

. Let

be the trees obtained by
deleting

. Let

be the tree obtained by deleting the vertices
of

from

for all

; in particular

.
By the induction hypothesis, each

has at least

paths of length 2,
where

is the number of edges in

.
So

. Hence the number of paths of length 2 in

is
at least
Hence the path is the unique minimizer for

over trees with

edges.
This shows that

; and if

is a minimizer
that attains

, then

is a path. We now show that this is
attainable. Let the vertex set of the path be

and the edge set be

, where

.
Then any bijections
and
will do. (See Figure
1 for

.)
Figure 1:
A path
 |
Since each edge induces two arcs in the associated influence digraph,
each path of length at least 2 induces at most one arc in
the associated
influence digraph, and there is a unique path between two distinct
vertices in a tree,
.
We first observe that a star with any
gives this maximum, so it is
attainable. We now show that if
is a maximizer, then
is
a caterpillar. Suppose not. Let
be a tree that is not a caterpillar but
has an influence one way or the other between every pair of vertices.
Since
is not a caterpillar, it has a subgraph that is
a subdivision of the claw of size 3 shown in
Figure 2.
Figure 2:
A subdivision of a claw
 |
Since only the relative order of the time-stamps
determines influences, we assume, without loss of generality, that the
time-stamps on these six edges are

.
If

, then there can be no influence
between

and

. Hence

. Similarly,

and

. Without loss of generality, we
assume that

.
Now if

, then there can be no influence
between

and

. So

. Similarly,

. If

, then there can be no influence
between

and

. Therefore

,
and similarly

.
Thus

. Now, without loss of generality, assume that

influences

. This forces

and

, and now there is no
influence between

and

. This contradiction
implies that

must be a caterpillar.
To see that every caterpillar can be a maximizer for

, let

be the (internal) vertices on the spine of the
caterpillar such that

.
Let

is a leg incident to

.
Then order the edges as follows:

, and
give the

th edge the time-stamp

.
The natural question is to ask whether every number of influences in the
interval
can be achieved by a tree with
edges.
If the answer is yes, then a deeper question is to see whether it can
be achieved by using a restricted class of trees. For example,
since Theorem 2.1 shows that both the maximum and the minimum
can be achieved by a path, one may also wonder whether
every number is achievable
by a path. The next proposition shows that the answer to this last question is
no except for the trivial cases when
.
Proposition 2.2
A path with
edges and an injective time-stamp function
cannot induce exactly
influences.
Proof.
Suppose such a time-stamped path

exists with
range

.
Since it induces

influences, there
is exactly one path of length at least 2 that induces no influence.
Let the vertices on

be

with

adjacent to

for

.
Suppose

. If

, then
since

, either the path from

to

or the path from

to

has length at least 2. Without
loss of generality, we may assume that the path from

to

has length at least 2. Then neither the path from

to

nor
the path from

to

induces an influence, a contradiction.
Hence, without loss of generality,
we may assume that

. Let

be the farthest vertex
from

that

influences; that is,

is the maximal non-decreasing subpath starting from

. Since

, we have

; otherwise,
the path would induce

influences. Then
there is no influence between

and

nor
between

and

since

.
We now know that the class of paths of
edges
is not large enough to induce all numbers of influences
in the interval
. (An interesting open problem is to find
all the values that can be attained from paths.) Since the
class of paths is not large enough, we must include graphs having at least one
vertex of degree 3 or above. We will show that adding one such vertex of degree
3 is enough, that is, the class of trees that are homeomorphic to either
or
will suffice. In fact, we will show that
trees with time-stamp 1 on a leaf-edge and homeomorphic to
or
are sufficient. We start with the following lemmas.
Remember that we are always assuming that
is
bijective with range
.
Lemma 2.3
For every integer
in
,
there exists
where
is
a tree homeomorphic to
or
with
edges and the time-stamp
on a leaf-edge
such that
has
arcs.
Proof.
We use a path on

edges with time-stamps from 2 to

as shown in
Figure
3. This will create

influences. We now join an additional leaf-edge to the path, with
time-stamp

. We consider joining it to each of the

's. If it is joined to

, then it will create

extra influences,
so the total is

, as expected.
If it is joined to

, then it will still create

extra influences.
If it is joined to

, then it will create

extra influences.
In general, if

, then attaching the new leaf-edge at

will create

extra influences, and the result follows.
Figure 3:
A caterpillar with one leg
 |
Lemma 2.4
For every integer
in
,
there exists
where
is
homeomorphic to
or
with
edges and the time-stamp
on a leaf-edge
such that
has
arcs.
Proof.
We use a path on

edges with time-stamps from 2 to

as shown in
Figure
4. This will create

influences. We now join two additional vertices forming
a path to the existing path whose edges have time-stamp

and

, with the
edge with time-stamp 1 being a leaf-edge. We consider joining this path
to each of the

's. If it is joined to

, then it will create
six extra influences, so the total is

.
If it is joined to

, then it will create seven extra influences.
In general, if

, then joining this path to

will create

extra influences.
(Note that joining the path to

will create

extra influences
and not

.) The result follows.
Figure 4:
A caterpillar with one leg, which is then subdivided
 |
Theorem 2.5
For every integer
in
,
there exists
where
is
homeomorphic to
or
with
edges and the time-stamp
on a leaf-edge
such that
has
arcs.
Proof.
It is easy to check that the result is true for

. Let

.
Assume it is true for

. Let

be an integer in
![$ [3m-1,m(m+3)/2]$](img124.png)
. It follows from Lemmas
2.3 and
2.4
that we may assume that

is in the interval
![$ [3m-1,m(m+3)/2-2m+4]$](img170.png)
.
We claim that by the
induction hypothesis, there is a tree

isomorphic to

or

with

edges and the time-stamp 1 on a leaf-edge inducing

influences. To see this, we check that

is in the interval
![$ [3(m-2)-1,(m-2)(m+1)/2]$](img172.png)
. This is true since

is in the interval
![$ [3m-1,m(m+3)/2-2m+4]$](img170.png)
.
Now by mapping the time-stamps of

to the labels

in
a natural way, the resulting tree still induces

influences.
We know by the induction hypothesis that
the time-stamp

is on a leaf-edge

where

is a leaf.
We add

with time-stamp

and

with time-stamp 1. This
adds six more influences,
giving

influences in the new tree, as desired.
Corollary 2.6
Let
be
if
,
if
,
if
,
if
, and
if
.
Then there exists
where
is a nontrivial forest with
vertices
and
is injective
such that
has
arcs if and only if
.
Proof.
Given

, we would like to construct

where

is a forest with

vertices such that

has

arcs.
We first note that

is not realizable.
Clearly, only

is realizable if

. Suppose

. Then the forest
has 3 vertices. If it has one component, then only

is realizable by
Theorems
2.1 and
2.5.
If it has two components, then one component is a tree with two vertices and
the other is a singleton, and hence only

is realizable. Suppose

. Then the forest has four vertices. If it has one component, then
only

are realizable. If it has two components with one component
on three vertices, then only

is realizable. If it has two components
with each component having two vertices, then only

is realizable.
If it has three components, then only

is realizable.
The argument for

is similar.
Now assume
.
Then by considering a forest with a component on
vertices and
singletons where
, we can deduce that each
in
is realizable. Now by considering a forest with a
component on
vertices and
singletons, we can deduce that each
in
is realizable. Since
if
, every
in
is realizable. Since
,
we can conclude that
are realizable just by considering a forest
on five vertices. By taking three components having two vertices and
the others being singletons,
is realizable. Finally, by taking a component
with four vertices realizing eight influences, a component with two vertices
and the others being singletons,
is realizable.
We will also mention the following related result without proof.
The point of view is from the number of edges and its proof is simpler than
the proof for the previous result.
Theorem 2.7
For every integer
in
,
there exists
where
is a forest with
edges
and
is injective such that
has
arcs.
If
is permitted to be non-injective, then the number of arcs in the
associated influence digraph of a tree may fall outside
. For example, if every time-stamp is the same, then all
influences occur. However, such cases really correspond to
time-stamp graphs that are not trees as seen in Section 1.
Next: Graphs
Up: Time-Stamped Graphs and Their
Previous: Introduction
Eddie Cheng
2003-05-01