ArticleslgStudy

computer science

G-network

G-network is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand G-network rather than just read about it. In short: In queueing theory, a discipline within the mathematical theory of probability, a G-network (generalized queueing network, often called a Gelenbe network) is an open network of G-queues first introduced by Erol Gelenbe as a model for queueing systems with specific control functions, such as traffic re-routing or traffic destruction, as well as a model for neural networks. A G-queue is a network of queues with severa…

Key takeaways

  • G-network belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect G-network to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of G-network from memory before moving on to harder problems.

Reference excerpt

In queueing theory, a discipline within the mathematical theory of probability, a G-network (generalized queueing network, often called a Gelenbe network) is an open network of G-queues first introduced by Erol Gelenbe as a model for queueing systems with specific control functions, such as traffic re-routing or traffic destruction, as well as a model for neural networks. A G-queue is a network of queues with several types of novel and useful customers:

positive customers, which arrive from other queues or arrive externally as Poisson arrivals, and obey standard service and routing disciplines as in conventional network models, negative customers, which arrive from another queue, or which arrive externally as Poisson arrivals, and remove (or 'kill') customers in a non-empty queue, representing the need to remove traffic when the network is congested, including the removal of "batches" of customers "triggers", which arrive from other queues or from outside the network, and which displace customers and move them to other queues A product-form solution superficially similar in form to Jackson's theorem, but which requires the solution of a system of non-linear equations for the traffic flows, exists for the stationary distribution of G-networks while the traffic equations of a G-network are in fact surprisingly non-linear, and the model does not obey partial balance. This broke previous assumptions that partial balance was a necessary condition for a product-form solution. A powerful property of G-networks is that they are universal approximators for continuous and bounded functions, so that they can be used to approximate quite general input-output behaviours.

Definition

A network of m interconnected queues is a G-network if

each queue has one server, who serves at rate μi, external arrivals of positive customers or of triggers or resets form Poisson processes of rate Λi for positive customers, while triggers and resets, including negative customers, form a Poisson process of rate λi, on completing service a customer moves from queue i to queue j as a positive customer with probability pij+, as a trigger or reset with probability pij− and departs the network with probability di, on arrival to a queue, a positive customer acts as usual and increases the queue length by 1, on arrival to a queue, the negative customer reduces the length of the queue by some random number (if there is at least one positive customer present at the queue), while a trigger moves a customer probabilistically to another queue and a reset sets the state of the queue to its steady-state if the queue is empty when the reset arrives. All triggers, negative customers and resets disappear after they have taken their action, so that they are in fact "control" signals in the network, note that normal customers leaving a queue can become triggers or resets and negative customers when they visit the next queue. A queue in such a network is known as a G-queue.

Stationary distribution Define the utilization at each node,

ρi=λi+μi+λi− where the λi+,λi− for i=1,…,m satisfy

Then writing (n1, ... ,nm) for the state of the network (with queue length ni at node i), if a unique non-negative solution (λi+,λi−) exists to the above equations (1) and (2) such that ρi for all i then the stationary probability distribution π exists and is given by

π(n1,n2,…,nm)=∏i=1m(1−ρi)ρini.

Proof

It is sufficient to show π satisfies the global balance equations which, quite differently from Jackson networks are non-linear. We note that the model also allows for multiple classes. G-networks have been used in a wide range of applications, including to represent Gene Regulatory Networks, the mix of control and payload in packet networks, neural networks, and the representation of colour images and medical images such as Magnetic Resonance Images.

Response time distribution The response time is the length of time a customer spends in the system. The response time distribution for a single G-queue is known where customers are served using a FCFS discipline at rate μ, with positive arrivals at rate λ+ and negative arrivals at rate λ− which kill customers from the end of the queue. The Laplace transform of response time distribution in this situation is

W∗(s)=μ(1−ρ)λ+s+λ+μ(1−ρ)−[s+λ+μ(1−ρ)]2−4λ+λ−λ−−λ+−μ(1−ρ)−s+[s+λ+μ(1−ρ)]2−4λ+λ− where λ = λ+ + λ− and ρ = λ+/(λ− + μ), requiring ρ < 1 for stability. The response time for a tandem pair of G-queues (where customers who finish service at the first node immediately move to the second, then leave the network) is also known, and it is thought extensions to larger networks will be intractable.

References

Worked examples

Example 1 — a first encounter with G-network

Start with the simplest possible case. Write down what G-network claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to G-network before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about G-network ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of G-network

In research
G-network appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses G-network in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
G-network is common in secondary-school and first-year university syllabi. It links to neighbouring topics Queueing theory, so understanding it makes those chapters shorter.
In everyday life
Look for G-network outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “G-network” →

How to study G-network in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what G-network means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain G-network out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is G-network in simple terms?

In queueing theory, a discipline within the mathematical theory of probability, a G-network (generalized queueing network, often called a Gelenbe network) is an open network of G-queues first introduced by Erol Gelenbe as a model for queueing systems with specific control functions, such as traffic…

Why does G-network matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study G-network?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on G-network.

Tags

  • Queueing theory

Keep exploring