Are DataTypes needed? #73
|
Do we actually need |
Replies: 1 comment 1 reply
|
The Also, as you suggested the question, having a separate |
|
Do we actually need |
|
The Also, as you suggested the question, having a separate |
The
DataTypeentity allows us to distinguish between types that happen to have the sameClass<?>, but should not be treated as the same data type. For example, say that you have auserIDandPINdata type, which can both be represented as integers, but are clearly not the same type.Also, as you suggested the question, having a separate
DataTypeallows us to have different theories for the different data types, even if the underlyingClass<?>is the same. Since we plan to support more complex theories, such as learning with successors (guards of the forms2 == s1 + 1) it is useful to have this functionality.