Record Class ForgeryDetector.ArtistFingerprint
java.lang.Object
java.lang.Record
org.episteme.social.arts.ForgeryDetector.ArtistFingerprint
- All Implemented Interfaces:
Serializable
- Enclosing class:
ForgeryDetector
public static record ForgeryDetector.ArtistFingerprint(String artistName, ForgeryDetector.BrushstrokeProfile meanProfile, double[] stdDeviations, int sampleSize)
extends Record
implements Serializable
Represents the unique statistical fingerprint of a specific artist's
brushstroke technique.
- Since:
- 1.0
- Version:
- 2.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionArtistFingerprint(String artistName, ForgeryDetector.BrushstrokeProfile meanProfile, double[] stdDeviations, int sampleSize) Creates an instance of aArtistFingerprintrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theartistNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themeanProfilerecord component.intReturns the value of thesampleSizerecord component.double[]Returns the value of thestdDeviationsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ArtistFingerprint
public ArtistFingerprint(String artistName, ForgeryDetector.BrushstrokeProfile meanProfile, double[] stdDeviations, int sampleSize) Creates an instance of aArtistFingerprintrecord class.- Parameters:
artistName- the value for theartistNamerecord componentmeanProfile- the value for themeanProfilerecord componentstdDeviations- the value for thestdDeviationsrecord componentsampleSize- the value for thesampleSizerecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
artistName
Returns the value of theartistNamerecord component.- Returns:
- the value of the
artistNamerecord component
-
meanProfile
Returns the value of themeanProfilerecord component.- Returns:
- the value of the
meanProfilerecord component
-
stdDeviations
public double[] stdDeviations()Returns the value of thestdDeviationsrecord component.- Returns:
- the value of the
stdDeviationsrecord component
-
sampleSize
public int sampleSize()Returns the value of thesampleSizerecord component.- Returns:
- the value of the
sampleSizerecord component
-