# augmentPoset -- computes the poset with an adjoined minimum and maximum

## Synopsis

• Usage:
Q = augmentPoset P
Q = augmentPoset(P, a, b)
• Inputs:
• P, an instance of the type Poset,
• a, , the new minimal element of $P$
• b, , the new maximal element of $P$
• Outputs:
• Q, an instance of the type Poset,

## Description

This method simply creates a new poset $Q$ with the minimal element $a$ and the maximal element $b$. If $a$ and $b$ are unspecified, the elements $0$ and $1$ are used, respectively.