Class RestorationSimulator
java.lang.Object
org.episteme.social.arts.RestorationSimulator
Analytical engine for simulating the natural aging and chemical degradation
of artworks over time, as well as the corrective impacts of various
conservation and restoration treatments.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordRepresents a specific technical intervention.static final recordRepresents the quantified state of damage for an artwork.static enumCommon forms of chemical and physical degradation in fine art materials. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final List<RestorationSimulator.ConservationTreatment> Catalog of standard conservation treatments. -
Method Summary
Modifier and TypeMethodDescriptionapplyTreatment(RestorationSimulator.DegradationState state, RestorationSimulator.ConservationTreatment treatment) Projects the outcome of applying a specific treatment to the current state.recommendTreatments(RestorationSimulator.DegradationState state, double budget) Provides an prioritized list of recommended treatments constrained by a financial budget.simulateAging(int currentAge, int additionalYears, Map<String, Double> environmentFactors) Simulates the progression of degradation based on time and environmental exposure.
-
Field Details
-
TREATMENTS
Catalog of standard conservation treatments.
-
-
Method Details
-
simulateAging
public static RestorationSimulator.DegradationState simulateAging(int currentAge, int additionalYears, Map<String, Double> environmentFactors) Simulates the progression of degradation based on time and environmental exposure.- Parameters:
currentAge- starting age of the artwork in yearsadditionalYears- time span of the simulationenvironmentFactors- map containing "humidity" (0-1), "temperature" (Celsius), and "light" (0-1)- Returns:
- predicted DegradationState
-
recommendTreatments
public static List<RestorationSimulator.ConservationTreatment> recommendTreatments(RestorationSimulator.DegradationState state, double budget) Provides an prioritized list of recommended treatments constrained by a financial budget.- Parameters:
state- current damage metricsbudget- maximum available funding- Returns:
- ordered list of viable treatments
-
applyTreatment
public static RestorationSimulator.DegradationState applyTreatment(RestorationSimulator.DegradationState state, RestorationSimulator.ConservationTreatment treatment) Projects the outcome of applying a specific treatment to the current state.- Parameters:
state- source degradation statetreatment- treatment to apply- Returns:
- improved DegradationState
-