## IdentityAlgorithm


A registered identity algorithm.


Usage

``` python
IdentityAlgorithm()
```


## Attributes


`name: str`  
Unique algorithm name (mirrored into [IdentityAlgorithmRow](IdentityAlgorithmRow.md#autostorage.IdentityAlgorithmRow)).

`kind: IdentityKind`  
Category of identity produced.

`identity_fn: IdentityProtocol`  
`(geo, other_geos=None) -> str`, generating the identity.

`parent: IdentityAlgorithm | None`  
Algorithm whose identity selects the `other_geos` passed to `identity_fn`, if any.

`orders: frozenset[int] | None`  
Stationary point orders the algorithm applies to. `None` if it applies to any order.


## Methods

| Name | Description |
|----|----|
| [applies_to()](#applies_to) | Check whether algorithm applies to a given order. |

------------------------------------------------------------------------


#### applies_to()


Check whether algorithm applies to a given order.


Usage

``` python
applies_to(order)
```
