G
Guest
Guest
Archived from groups: rec.games.diplomacy (More info?)
**************************************************
Processing Phases of a Perfect Adjudication Engine
**************************************************
Subtitle for this article:
"Initial Ideas on Partitioning the Perfect Adjudicator."
This article is located at
http://www.geocities.com/Diplomacy2007/
If you see any inconsistencies in the following proposal, or you have
any ideas,
please let me know.
Subtitle for this article:
"Initial Ideas on Partitioning the Perfect Adjudicator."
Define the "rule set" to be whatever assumptions are being made by the
system.
As an initial idea, the perfect adjudicator could be broken down into
the
following phases.
*******
PHASE 1: Conversion of Illegal Orders to Broadly Legal Orders
*******
The conversion of illegal orders to legal orders is handled at this
stage.
During this conversion, it would be explicitly known what rule set was
being
used and what the outcome of any particular rule set would produce.
I have not studied all the ambiguities either in the rule sets or the
different
interpretations, but here is a made-up example:
Illegal Order: French Army in Paris to the planet Venus.
This might be converted into a legal order in any of the following ways
(plus
even other ways) depending upon which rule set is being used:
* French Army in Paris holds.
* French Army in Paris holds, and any other military units with orders
attempting to support the French Army holding in Paris are rewritten so
that
the order no longer states that this other unit supports the Army in
Paris that
is now holding.
Note that it would certainly be legal for a convoy order (at this stage
and in
this phase of procesing) not to specify its route. So, the following
orders
would all be considered legal:
* Army in Brest to London.
* Army in Brest to London via convoy.
* Army in Brest to London via convoy route English Channel.
* Army in Brest to London via convoy route Mid-Atlantic Ocean then
English
Channel.
* Army in Brest to Edinburgh via convoy route Mid-Atlantic Ocean then
North
Atlantic then Norwegian Sea.
The last three examples introduce a notation that is new, but I hope
that it is
understandable.
Note, by the way, that this phase would also determine that there are
indeed
legal configurations of fleets to carry out the convoy order
(regardless of how
vague the convoy order may be). Exactly what determines a "legal
configuration
of fleets?" Well, there must be at least one path from the convoying
army's
initial position to its destination, where this path consists of one or
more
fleets with convoying orders that match appropriately the convoying
army's.
Note, of course, that if there is a fleet in a body of water, but there
are no
armies standing adjacent to that fleet, then that fleet's convoy order
is quite
impossible and therefore illegal and would be rewritten at this stage
applying
whatever rule set is operational.
Note further this peculiar situation:
English Army in Edinburgh to Norway.
English Army in York to Norway.
English Flet in North Sea convoys Army in York to Norway.
Assuming that there are no other units on the board, the English Army
in
Edinburgh has no fleet to convoy it, so this order is illegal because
it is
impossible, and would need to be rewritten.
Consider this example:
English Army in Edinburgh to Norway.
English Army in York to Norway.
English Fleet in North Sea convoys Army in York to Norway.
Russian Fleet in Norwegian Sea convoys Army in Edinburgh to Norway.
Now, theoretically, the armies that must cross a waterway to their
destination
now have a fleet which will convoy them, so the orders are legal. We
are not
yet interested in whether or not the English Army in Edinburgh "wants"
to be
convoyed or not. Only that the orders are broadly legal and possible.
As an example of an illegal configuration of fleets (and I suspect that
there
may be many scenarios depending on the rule set that is being used), if
the
order, French Army in Brest to London, is given, and there are no
fleets located
within either the English Channel nor the Mid-Atlantic, then there
cannot be a
convoy, and the convoy order would be illegal and would need to be
converted into a legal order using whatever rule set is operational.
Note that at this stage, there is still tons of ambiguity existing, and
this
seems particular true if you are using the year 2000, fourth edition
rule book.
That is, there is tons of ambiguity even though we may have a completed
set of
perfectly legal orders. Here is an example:
English Army in London to Belgium.
English Fleet in English Channel convoys Army in London to Belgium.
English Fleet in North Sea convoys Army in London to Belgium.
The orders for other military units are not specified, and could be
anything
that is a legal order.
We do not yet know which fleet will be used in the convoy. We do not
even know
if there even will be a convoy (due to the application of other rules,
such as
the fleet or fleets being dislodged). All we know is that for the
three orders
shown so far, they are legal orders.
Here is another scenario where the legal orders are ambiguous.
Austrian Army in Trieste to Venezia.
Austrian Fleet in Adriatic Sea convoys Army in Trieste to Venezia.
The orders for other military units are not specified, and could be
anything
that is a legal order.
Does the army move by land to Venezia or does it convoy? Do the
introduction of
other units on the board with their own unique, legal orders influence
this
decision? Again, this is ambiguous, and the different ambiguities
depends on
the rule set being used. These ambiguities are allowed to exist at
this phase
in the processing, because all we care about is that the orders are
broadly
legal.
And, here is another ambiguous scenario.
French Army in Spain's south coast to Tuscany.
Russian Fleet in Gulf of Lyon convoys Army in Spain's south coast to
Tuscany.
English Fleet in West Mediterranean convoys Army in Spain's south coast
to Tuscany.
French Fleet in Tyrhennian Sea convoys Army in Spain's south coast to
Tuscany.
The orders for other militray units are not specified, and could be
anything
that is a legal order.
The situation is ambiguous because we don't know about the other units
on the
field and what their orders are, and we don't know, necessarily, which
convoy
route or routes will apply in the face of the convoying fleets being
dislodged by
other attacking units, and so forth. Again, at this phase of
processing, this
ambiguity is fine, we are only looking to determine if the orders are
broadly
legal.
Here are two more examples:
Scenario A:
British Army in Wales to Edinburgh.
German Fleet in English Channel convoys Army in Wales to Edinburgh.
German Fleet in North Sea convoys Army in Wales to Edinburgh.
Russian Fleet in Irish Sea convoys Army in Wales to Edinburgh.
Russian Fleet in North Atlantic convoys Army in Wales to Edinburgh.
Russian Fleet in Norwegian Sea convoys Army in Wales to Edinburgh.
The orders for other militray units are not specified, and could be
anything
that is a legal order.
Scenario B:
British Army in Wales to Edinburgh.
German Fleet in English Channel convoys Army in Wales to Edinburgh.
German Fleet in North Sea convoys Army in Wales to Edinburgh.
Russian Fleet in Irish Sea convoys Army in Wales to Edinburgh.
Russian Fleet in North Atlantic convoys Army in Wales to Edinburgh.
British Fleet in Norwegian Sea convoys Army in Wales to Edinburgh.
The orders for other militray units are not specified, and could be
anything
that is a legal order.
All the orders in the above two examples are legal. But, we recognize
that
exactly which convoy, if any (since we don't know what other units are
doing to
dislodge any of the fleets, nor do we know what rule set is being
applied),
that will be taken is unknown at this stage. Again, at this phase of
processing, this ambiguity is fine, we are only looking to determine if
the
orders are broadly legal.
What has been accomplished during this first phase? When this phase of
processing is completed, all the orders have been converted to broadly
legal
orders. There no longer exist any illegal orders. How illegal orders
are
convertd to legal orders may depend on the rule set being used.
Let is be noted that it appears that the only ambiguity that would
exist at the
end of this phase concerns whether or not an army will be convoyed
(which arises
if you are convoying an army to a neighboring coastal province, for
example) or
which one convoying route the army will eventually take if there are
choices, or
whether the convoy will occur at all as a function of the national
make-up of
the fleet or fleets involved in the convoy. These ambiguities are
allowed to
exist at the end of this processing phase as long as all the orders are
broadly legal.
*******
PHASE 2: Further Refinements of Orders Related to Convoys
*******
This is an optional phase; specifically, if the adjudicator is going
to be
using the year 2000, fourth edition rule book, broadly legal orders as
has
already been determined in phase 1 are all that are needed to correctly
adjudicate a position (or so we assume at this time, though I have not
provided
the logic yet to handle this type of stuff within the "perfect
adjudication
engine").
Any other rule set differing from the year 2000, fourth edition rule
book, or
any "contrary" or "different" interpretation of the year 2000, fourth
edition
rule book, would apply their rule set in this phase. The definition of
the
rule set and the outcome of applying the rule set would be public and
defined.
Even if you are using the year 2000, fourth edition rule book,
adjustments for
some reason or another may be needed in this phase (for instance,
perhaps your
interpretation is different from the vast majority, or perhaps there is
a
paradox which will make it impossible to determine which choice of many
broadly
general orders can be applied correctly).
An a general example, assume that there exists a rule set which insists
that the
convoy order for the army specify exactly which route will be used.
Then, in
this phase, the orders are changed to be consistent with the rule set
being
used.
First example related to the above paragraph:
Change this order
French Army in Brest to London.
To this order:
French Army in Brest to London via convoy route English Channel.
Second example related to the above paragraph:
Change this order
French Army in Brest to London.
To this order:
French Army in Brest to London via convoy route Mid-Atlantic then Irish
Sea then
North Atlantic then Norwegian Sea then North Sea.
Or perhaps your rule set mandates that any general convoy route that is
not
specified in detail is illegal. Then,
Take this order:
French Army in Brest to London via convoy.
and toss it out or convert it to a hold, and adjust any other related
orders
so that the orders as a whole are still legal.
Now consider this scenario:
Austrian Army in Trieste to Venezia via convoy route Adriatic Sea.
Austrian Fleet in Adriatic Sea convoys Army in Trieste to Venezia.
Other units, if any, and their orders are not shown.
In the above example, assume that the rule set being used dictates that
under
some circumstance (a circumstance which we will not define but will
assume
exists for the given scenario) the Army in Trieste definitely will not
convoy
but instead travel by land to Venezia. Then, at this phase of
processing, the
order would be re-written for all units effected; here is the new order
set for
this example:
Austrian Army in Trieste to Venezia.
Austrian Fleet in Adriatic Sea holds.
Other units, if any, and their orders are not shown.
When we leave this phase, we either still have broadly legal orders
that
existed when we entered this phase (i.e., no changes were made, or this
step
was skipped), or we have orders which are more detailed but still
legal.
It is this second phase just discussed that perhaps holds many issues
and
debates with respect to the Diplomacy community; so, it is probably
wise to
partition it into a separate phase in the processing so that these
differences
of opinions, differences of interpretations, and not to mention just
simply
differences in which rule book is being used, don't "pollute" the
actual
adjudication process which is discussed in the next section.
*******
PHASE 3: The Core Adjudication Process
*******
Adjudication of the position now occurs formally. If a unit is
determined to
be dislodged, what happens to the unit after it is dislodged is not
determined
in this phase.
*******
PHASE 4: Processing of Dislodged Units
*******
Any units which were dislodged in the previous phase are handled in
this phase.
Different rule sets will handle this differently. For instance, under
one
rule set, you would need further inputs from the players before you
determined
the outcome of a particular dislodged military unit.
Thanks
**************************************************
Processing Phases of a Perfect Adjudication Engine
**************************************************
Subtitle for this article:
"Initial Ideas on Partitioning the Perfect Adjudicator."
This article is located at
http://www.geocities.com/Diplomacy2007/
If you see any inconsistencies in the following proposal, or you have
any ideas,
please let me know.
Subtitle for this article:
"Initial Ideas on Partitioning the Perfect Adjudicator."
Define the "rule set" to be whatever assumptions are being made by the
system.
As an initial idea, the perfect adjudicator could be broken down into
the
following phases.
*******
PHASE 1: Conversion of Illegal Orders to Broadly Legal Orders
*******
The conversion of illegal orders to legal orders is handled at this
stage.
During this conversion, it would be explicitly known what rule set was
being
used and what the outcome of any particular rule set would produce.
I have not studied all the ambiguities either in the rule sets or the
different
interpretations, but here is a made-up example:
Illegal Order: French Army in Paris to the planet Venus.
This might be converted into a legal order in any of the following ways
(plus
even other ways) depending upon which rule set is being used:
* French Army in Paris holds.
* French Army in Paris holds, and any other military units with orders
attempting to support the French Army holding in Paris are rewritten so
that
the order no longer states that this other unit supports the Army in
Paris that
is now holding.
Note that it would certainly be legal for a convoy order (at this stage
and in
this phase of procesing) not to specify its route. So, the following
orders
would all be considered legal:
* Army in Brest to London.
* Army in Brest to London via convoy.
* Army in Brest to London via convoy route English Channel.
* Army in Brest to London via convoy route Mid-Atlantic Ocean then
English
Channel.
* Army in Brest to Edinburgh via convoy route Mid-Atlantic Ocean then
North
Atlantic then Norwegian Sea.
The last three examples introduce a notation that is new, but I hope
that it is
understandable.
Note, by the way, that this phase would also determine that there are
indeed
legal configurations of fleets to carry out the convoy order
(regardless of how
vague the convoy order may be). Exactly what determines a "legal
configuration
of fleets?" Well, there must be at least one path from the convoying
army's
initial position to its destination, where this path consists of one or
more
fleets with convoying orders that match appropriately the convoying
army's.
Note, of course, that if there is a fleet in a body of water, but there
are no
armies standing adjacent to that fleet, then that fleet's convoy order
is quite
impossible and therefore illegal and would be rewritten at this stage
applying
whatever rule set is operational.
Note further this peculiar situation:
English Army in Edinburgh to Norway.
English Army in York to Norway.
English Flet in North Sea convoys Army in York to Norway.
Assuming that there are no other units on the board, the English Army
in
Edinburgh has no fleet to convoy it, so this order is illegal because
it is
impossible, and would need to be rewritten.
Consider this example:
English Army in Edinburgh to Norway.
English Army in York to Norway.
English Fleet in North Sea convoys Army in York to Norway.
Russian Fleet in Norwegian Sea convoys Army in Edinburgh to Norway.
Now, theoretically, the armies that must cross a waterway to their
destination
now have a fleet which will convoy them, so the orders are legal. We
are not
yet interested in whether or not the English Army in Edinburgh "wants"
to be
convoyed or not. Only that the orders are broadly legal and possible.
As an example of an illegal configuration of fleets (and I suspect that
there
may be many scenarios depending on the rule set that is being used), if
the
order, French Army in Brest to London, is given, and there are no
fleets located
within either the English Channel nor the Mid-Atlantic, then there
cannot be a
convoy, and the convoy order would be illegal and would need to be
converted into a legal order using whatever rule set is operational.
Note that at this stage, there is still tons of ambiguity existing, and
this
seems particular true if you are using the year 2000, fourth edition
rule book.
That is, there is tons of ambiguity even though we may have a completed
set of
perfectly legal orders. Here is an example:
English Army in London to Belgium.
English Fleet in English Channel convoys Army in London to Belgium.
English Fleet in North Sea convoys Army in London to Belgium.
The orders for other military units are not specified, and could be
anything
that is a legal order.
We do not yet know which fleet will be used in the convoy. We do not
even know
if there even will be a convoy (due to the application of other rules,
such as
the fleet or fleets being dislodged). All we know is that for the
three orders
shown so far, they are legal orders.
Here is another scenario where the legal orders are ambiguous.
Austrian Army in Trieste to Venezia.
Austrian Fleet in Adriatic Sea convoys Army in Trieste to Venezia.
The orders for other military units are not specified, and could be
anything
that is a legal order.
Does the army move by land to Venezia or does it convoy? Do the
introduction of
other units on the board with their own unique, legal orders influence
this
decision? Again, this is ambiguous, and the different ambiguities
depends on
the rule set being used. These ambiguities are allowed to exist at
this phase
in the processing, because all we care about is that the orders are
broadly
legal.
And, here is another ambiguous scenario.
French Army in Spain's south coast to Tuscany.
Russian Fleet in Gulf of Lyon convoys Army in Spain's south coast to
Tuscany.
English Fleet in West Mediterranean convoys Army in Spain's south coast
to Tuscany.
French Fleet in Tyrhennian Sea convoys Army in Spain's south coast to
Tuscany.
The orders for other militray units are not specified, and could be
anything
that is a legal order.
The situation is ambiguous because we don't know about the other units
on the
field and what their orders are, and we don't know, necessarily, which
convoy
route or routes will apply in the face of the convoying fleets being
dislodged by
other attacking units, and so forth. Again, at this phase of
processing, this
ambiguity is fine, we are only looking to determine if the orders are
broadly
legal.
Here are two more examples:
Scenario A:
British Army in Wales to Edinburgh.
German Fleet in English Channel convoys Army in Wales to Edinburgh.
German Fleet in North Sea convoys Army in Wales to Edinburgh.
Russian Fleet in Irish Sea convoys Army in Wales to Edinburgh.
Russian Fleet in North Atlantic convoys Army in Wales to Edinburgh.
Russian Fleet in Norwegian Sea convoys Army in Wales to Edinburgh.
The orders for other militray units are not specified, and could be
anything
that is a legal order.
Scenario B:
British Army in Wales to Edinburgh.
German Fleet in English Channel convoys Army in Wales to Edinburgh.
German Fleet in North Sea convoys Army in Wales to Edinburgh.
Russian Fleet in Irish Sea convoys Army in Wales to Edinburgh.
Russian Fleet in North Atlantic convoys Army in Wales to Edinburgh.
British Fleet in Norwegian Sea convoys Army in Wales to Edinburgh.
The orders for other militray units are not specified, and could be
anything
that is a legal order.
All the orders in the above two examples are legal. But, we recognize
that
exactly which convoy, if any (since we don't know what other units are
doing to
dislodge any of the fleets, nor do we know what rule set is being
applied),
that will be taken is unknown at this stage. Again, at this phase of
processing, this ambiguity is fine, we are only looking to determine if
the
orders are broadly legal.
What has been accomplished during this first phase? When this phase of
processing is completed, all the orders have been converted to broadly
legal
orders. There no longer exist any illegal orders. How illegal orders
are
convertd to legal orders may depend on the rule set being used.
Let is be noted that it appears that the only ambiguity that would
exist at the
end of this phase concerns whether or not an army will be convoyed
(which arises
if you are convoying an army to a neighboring coastal province, for
example) or
which one convoying route the army will eventually take if there are
choices, or
whether the convoy will occur at all as a function of the national
make-up of
the fleet or fleets involved in the convoy. These ambiguities are
allowed to
exist at the end of this processing phase as long as all the orders are
broadly legal.
*******
PHASE 2: Further Refinements of Orders Related to Convoys
*******
This is an optional phase; specifically, if the adjudicator is going
to be
using the year 2000, fourth edition rule book, broadly legal orders as
has
already been determined in phase 1 are all that are needed to correctly
adjudicate a position (or so we assume at this time, though I have not
provided
the logic yet to handle this type of stuff within the "perfect
adjudication
engine").
Any other rule set differing from the year 2000, fourth edition rule
book, or
any "contrary" or "different" interpretation of the year 2000, fourth
edition
rule book, would apply their rule set in this phase. The definition of
the
rule set and the outcome of applying the rule set would be public and
defined.
Even if you are using the year 2000, fourth edition rule book,
adjustments for
some reason or another may be needed in this phase (for instance,
perhaps your
interpretation is different from the vast majority, or perhaps there is
a
paradox which will make it impossible to determine which choice of many
broadly
general orders can be applied correctly).
An a general example, assume that there exists a rule set which insists
that the
convoy order for the army specify exactly which route will be used.
Then, in
this phase, the orders are changed to be consistent with the rule set
being
used.
First example related to the above paragraph:
Change this order
French Army in Brest to London.
To this order:
French Army in Brest to London via convoy route English Channel.
Second example related to the above paragraph:
Change this order
French Army in Brest to London.
To this order:
French Army in Brest to London via convoy route Mid-Atlantic then Irish
Sea then
North Atlantic then Norwegian Sea then North Sea.
Or perhaps your rule set mandates that any general convoy route that is
not
specified in detail is illegal. Then,
Take this order:
French Army in Brest to London via convoy.
and toss it out or convert it to a hold, and adjust any other related
orders
so that the orders as a whole are still legal.
Now consider this scenario:
Austrian Army in Trieste to Venezia via convoy route Adriatic Sea.
Austrian Fleet in Adriatic Sea convoys Army in Trieste to Venezia.
Other units, if any, and their orders are not shown.
In the above example, assume that the rule set being used dictates that
under
some circumstance (a circumstance which we will not define but will
assume
exists for the given scenario) the Army in Trieste definitely will not
convoy
but instead travel by land to Venezia. Then, at this phase of
processing, the
order would be re-written for all units effected; here is the new order
set for
this example:
Austrian Army in Trieste to Venezia.
Austrian Fleet in Adriatic Sea holds.
Other units, if any, and their orders are not shown.
When we leave this phase, we either still have broadly legal orders
that
existed when we entered this phase (i.e., no changes were made, or this
step
was skipped), or we have orders which are more detailed but still
legal.
It is this second phase just discussed that perhaps holds many issues
and
debates with respect to the Diplomacy community; so, it is probably
wise to
partition it into a separate phase in the processing so that these
differences
of opinions, differences of interpretations, and not to mention just
simply
differences in which rule book is being used, don't "pollute" the
actual
adjudication process which is discussed in the next section.
*******
PHASE 3: The Core Adjudication Process
*******
Adjudication of the position now occurs formally. If a unit is
determined to
be dislodged, what happens to the unit after it is dislodged is not
determined
in this phase.
*******
PHASE 4: Processing of Dislodged Units
*******
Any units which were dislodged in the previous phase are handled in
this phase.
Different rule sets will handle this differently. For instance, under
one
rule set, you would need further inputs from the players before you
determined
the outcome of a particular dislodged military unit.
Thanks
