Interface AlgebraicStructureTheory<E extends AlgebraicElement<E>>
- All Superinterfaces:
BasicObjectTheory<E>,ElementTheory<E>
- All Known Subinterfaces:
AbelianRingTheory<E>,AdditiveAbelianGroupTheory<E>,AdditiveAbelianSemiGroupTheory<E>,AdditiveGroupTheory<E>,AdditiveMonoidTheory<E>,AdditiveSemiGroupTheory<E>,CompleteFieldTheory<E>,CompleteScalarFieldTheory<E>,DivisibleGroupTheory<E>,DivisionRingTheory<E>,FieldTheory<E>,GroupTheory<E>,MagmaTheory<E>,MultiplicativeAbelianGroupTheory<E>,MultiplicativeAbelianSemiGroupTheory<E>,MultiplicativeGroupTheory<E>,MultiplicativeMonoidTheory<E>,MultiplicativeSemiGroupTheory<E>,RingTheory<E>,RngTheory<E>,ScalarFieldTheory<E>,VectorSpaceTheory<V,S>
- Since:
- 0.4
- Author:
- Michiel Meeuwissen
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<AlgebraicStructure<?>,AtomicLong> static final Map<AlgebraicStructure<?>,AtomicLong> static final Map<AlgebraicStructure<?>,AtomicLong> static final Stringstatic final Map<AlgebraicStructure<?>,AtomicLong> Fields inherited from interface org.meeuw.theories.BasicObjectTheory
DATAPOINTS, DATAPOINTS_OR_NULL, EQUAL_DATAPOINTS, RANDOMSFields inherited from interface org.meeuw.theories.abstractalgebra.ElementTheory
ELEMENTS -
Method Summary
Modifier and TypeMethodDescriptiondefault voidalgebraicBinaryOperators(AlgebraicStructure<E> s, E e1, E e2) default voidalgebraicIntOperations(AlgebraicStructure<?> s, AlgebraicElement<?> o1) default voidalgebraicUnaryOperators(AlgebraicStructure<?> s, AlgebraicElement<?> o1) default voiddefault voiddefault voidcastDirectly(E v) default voidcayleyTables(AlgebraicStructure<?> structure) default voidelementClass(AlgebraicStructure<E> s, AlgebraicElement<E> e) default voiddefault voidexamples(AlgebraicStructure<?> struct) default voidfunctions(AlgebraicStructure<?> s, AlgebraicElement<?> e1) default voidgetComparisonOperators(AlgebraicStructure<?> struct) default voiddefault voidsingleton(AlgebraicStructure<?> structure) Checks if the structure is aSingleton, and if so, that it has a private constructor and a public static INSTANCE field was required by that contract.default voidstaticOperators(AlgebraicStructure<?> structure, BasicAlgebraicBinaryOperator o) default voidstaticUnaryOperators(AlgebraicStructure<?> structure, BasicAlgebraicUnaryOperator o) default net.jqwik.api.Arbitrary<? extends AlgebraicStructure<E>>default voidstructureSameInstance(E e1, E e2) default voidtoStringForStructure(AlgebraicStructure<?> struct) default voiduncertain(AlgebraicElement<?> element) Checks if the element is an instance ofUncertainif the structure sais thatAlgebraicStructure.elementsAreUncertain().Methods inherited from interface org.meeuw.theories.BasicObjectTheory
datapointsOrNull, equalDatapoints, equals, equalsIsConsistent, equalsIsReflexive, equalsIsSymmetric, equalsIsTransitive, equalsReturnFalseOnNull, equalsReturnFalseOnOtherObject, hashCodeIsConsistentWithEquals, hashCodeIsSelfConsistent, log, randoms, toStringMethods inherited from interface org.meeuw.theories.abstractalgebra.ElementTheory
datapoints, elements, getLogger, setupForAll
-
Field Details
-
STRUCTURE
- See Also:
-
COUNTS
-
ERROR_COUNTS
-
UCOUNTS
-
ERROR_UCOUNTS
-
-
Method Details
-
structure
-
cardinalityAndStreaming
-
nextRandom
-
structureSameInstance
-
elementClass
@Property default void elementClass(@ForAll("structure") AlgebraicStructure<E> s, @ForAll("elements") AlgebraicElement<E> e) -
algebraicBinaryOperators
@Property default void algebraicBinaryOperators(@ForAll("structure") AlgebraicStructure<E> s, @ForAll("elements") E e1, @ForAll("elements") E e2) throws Throwable - Throws:
Throwable
-
algebraicUnaryOperators
@Property default void algebraicUnaryOperators(@ForAll("structure") AlgebraicStructure<?> s, @ForAll("elements") AlgebraicElement<?> o1) throws Throwable - Throws:
Throwable
-
algebraicIntOperations
@Property default void algebraicIntOperations(@ForAll("structure") AlgebraicStructure<?> s, @ForAll("elements") AlgebraicElement<?> o1) throws Throwable - Throws:
Throwable
-
functions
@Property default void functions(@ForAll("structure") AlgebraicStructure<?> s, @ForAll("elements") AlgebraicElement<?> e1) throws Throwable - Throws:
Throwable
-
getComparisonOperators
-
examples
-
toStringForStructure
-
staticOperators
@Property default void staticOperators(@ForAll("structure") AlgebraicStructure<?> structure, @ForAll BasicAlgebraicBinaryOperator o) -
staticUnaryOperators
@Property default void staticUnaryOperators(@ForAll("structure") AlgebraicStructure<?> structure, @ForAll BasicAlgebraicUnaryOperator o) -
castDirectly
-
cast
-
eqMethod
-
cayleyTables
-
singleton
@Property default void singleton(@ForAll("structure") AlgebraicStructure<?> structure) throws NoSuchFieldException Checks if the structure is aSingleton, and if so, that it has a private constructor and a public static INSTANCE field was required by that contract.If it is not a singleton, it checks that no such field exists.
- Throws:
NoSuchFieldException
-
uncertain
Checks if the element is an instance ofUncertainif the structure sais thatAlgebraicStructure.elementsAreUncertain().
-