shoo / cushion

A library to help state transition matrix disign
Boost Software License 1.0
6 stars 0 forks source link

cushion.csvdecoder should be able to specify State and Event externally #11

Closed shoo closed 5 years ago

shoo commented 5 years ago

Currently, cushion.csvdecoder cannot determine Event or State without importing and parsing CSV. This means that the compiler must always parse the CSV in order to instantiate the StateTransitor type. This has the negative effect of slowing down the compilation speed. It is important to be able to specify State and Event from the outside in order to instantiate types regardless of parsing of CSV.


現在cushion.csvdecoderはCSVを読み込んでパースしなければEventやStateを確定することができません。これはStateTransitorの型をインスタンス化するためには、必ずCSVをパースする必要があることを意味しています。これはコンパイル速度を遅くするなどの弊害を生みます。 CSVのパースによらず型をインスタンス化するため、外部からState, Eventを指定できることは重要です。