All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.timefold.solver.benchmark.impl.DefaultPlannerBenchmarkFactory.class Maven / Gradle / Ivy

Go to download

Timefold solves planning problems. This lightweight, embeddable planning engine implements powerful and scalable algorithms to optimize business resource scheduling and planning. This module contains the benchmarker toolkit.

There is a newer version: 1.16.0
Show newest version
????=?
8ai/timefold/solver/benchmark/api/PlannerBenchmarkFactory()Vjava/lang/IllegalStateException
makeConcatWithConstantsP(Lai/timefold/solver/benchmark/config/PlannerBenchmarkConfig;)Ljava/lang/String;
(Ljava/lang/String;)V	@ai/timefold/solver/benchmark/impl/DefaultPlannerBenchmarkFactoryplannerBenchmarkConfig?resolveParallelBenchmarkCount()I
ABC6Djava/lang/Integer(I)Ljava/lang/Integer;
&FGHsetParallelBenchmarkCount(Ljava/lang/Integer;)V
JKL#calculateWarmUpTimeMillisSpentLimit()Ljava/lang/Long;
PQR6Sjava/lang/Long(J)Ljava/lang/Long;
UVWXYjava/util/ObjectsrequireNonNullElse8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
&[\]setWarmUpTimeMillisSpentLimit(Ljava/lang/Long;)V_java/util/ArrayList
^
&bcd$setUnifiedProblemBenchmarkResultList(Ljava/util/List;)Vfghi?java/util/Listsize
^kl(I)V
&nodsetSolverBenchmarkResultListfqrsiterator()Ljava/util/Iterator;uvwxyjava/util/IteratorhasNext()Zu{|}next()Ljava/lang/Object;9ai/timefold/solver/benchmark/config/SolverBenchmarkConfig?8ai/timefold/solver/benchmark/impl/SolverBenchmarkFactory
???>(Lai/timefold/solver/benchmark/config/SolverBenchmarkConfig;)V
*???getClassLoader()Ljava/lang/ClassLoader;
????buildSolverBenchmarkn(Ljava/lang/ClassLoader;Lai/timefold/solver/benchmark/impl/result/PlannerBenchmarkResult;[Ljava/lang/Object;)V
*???getBenchmarkReportConfigD()Lai/timefold/solver/benchmark/config/report/BenchmarkReportConfig;?@ai/timefold/solver/benchmark/config/report/BenchmarkReportConfig
???ai/timefold/solver/benchmark/impl/report/BenchmarkReportFactory
???E(Lai/timefold/solver/benchmark/config/report/BenchmarkReportConfig;)V
????buildBenchmarkReport}(Lai/timefold/solver/benchmark/impl/result/PlannerBenchmarkResult;)Lai/timefold/solver/benchmark/impl/report/BenchmarkReport;?9ai/timefold/solver/benchmark/impl/DefaultPlannerBenchmark
*???getBenchmarkDirectory()Ljava/io/File;
???buildExecutorService)(I)Ljava/util/concurrent/ExecutorService;
????(Lai/timefold/solver/benchmark/impl/result/PlannerBenchmarkResult;Ljava/io/File;Ljava/util/concurrent/ExecutorService;Ljava/util/concurrent/ExecutorService;Lai/timefold/solver/benchmark/impl/report/BenchmarkReport;)V
*???getThreadFactoryClass()Ljava/lang/Class;?threadFactoryClass
?????/ai/timefold/solver/core/config/util/ConfigUtilsnewInstanceI(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;?"java/util/concurrent/ThreadFactory?Eai/timefold/solver/core/impl/solver/thread/DefaultSolverThreadFactory?BenchmarkThread
?
?????java/util/concurrent/ExecutorsnewFixedThreadPoolM(ILjava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;	???VALID_NAME_PATTERNLjava/util/regex/Pattern;
?????java/util/regex/Patternmatcher3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
????yjava/util/regex/Matchermatches
???.pattern??8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
????.java/lang/Stringtrim
????equals(Ljava/lang/Object;)Z??&(Ljava/lang/String;)Ljava/lang/String;
*??%%getSolverBenchmarkBluePrintConfigList
????isEmptyCollection(Ljava/util/Collection;)Z
*??%getSolverBenchmarkConfigList?"java/lang/IllegalArgumentException?qConfigure at least 1  (or 1 ) in the  configuration.
??java/util/HashSet
?k?java/util/LinkedHashSet
?k
~+?????
java/util/Setadd??q(I)Ljava/lang/String;??contains
~0f	
?addAllLai/timefold/solver/benchmark/config/blueprint/SolverBenchmarkBluePrintConfig
%buildSolverBenchmarkConfigList
*!getInheritedSolverBenchmarkConfig=()Lai/timefold/solver/benchmark/config/SolverBenchmarkConfig;
~inheritx(Lai/timefold/solver/benchmark/config/SolverBenchmarkConfig;)Lai/timefold/solver/benchmark/config/SolverBenchmarkConfig;
java/lang/Runtime
getRuntime()Ljava/lang/Runtime;
 ?availableProcessors
*"#.getParallelBenchmarkCount%AUTO
'()*resolveParallelBenchmarkCountAutomatically(I)I+parallelBenchmarkCount
?-./resolvePoolSize:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I12'(Ljava/lang/String;I)Ljava/lang/String;	456LOGGERLorg/slf4j/Logger;8?Because the resolvedParallelBenchmarkCount ({}) is higher than the availableProcessorCount ({}), it is reduced to availableProcessorCount.:;<=>org/slf4j/Loggerwarn9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
*@ALgetWarmUpMillisecondsSpentLimit
*CDLgetWarmUpSecondsSpentLimit
*FGLgetWarmUpMinutesSpentLimit
*IJLgetWarmUpHoursSpentLimit
*LMLgetWarmUpDaysSpentLimit
POPQ	longValue()JST$(Ljava/lang/Long;)Ljava/lang/String;S?S?`	S6?
S&\b(?U)^[\w\d _\-\.\(\)]+$
?defcompile-(Ljava/lang/String;)Ljava/util/regex/Pattern;
hijklorg/slf4j/LoggerFactory	getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;?(Lai/timefold/solver/benchmark/config/PlannerBenchmarkConfig;)VCodeLineNumberTableLocalVariableTablethisBLai/timefold/solver/benchmark/impl/DefaultPlannerBenchmarkFactory;
StackMapTable5()Lai/timefold/solver/benchmark/api/PlannerBenchmark;solverBenchmarkFactory:Lai/timefold/solver/benchmark/impl/SolverBenchmarkFactory;solverBenchmarkConfig;Lai/timefold/solver/benchmark/config/SolverBenchmarkConfig;problems[Ljava/lang/Object;"effectiveSolverBenchmarkConfigListLjava/util/List;plannerBenchmarkResultALai/timefold/solver/benchmark/impl/result/PlannerBenchmarkResult;IbenchmarkReportConfig_BLai/timefold/solver/benchmark/config/report/BenchmarkReportConfig;benchmarkReport:Lai/timefold/solver/benchmark/impl/report/BenchmarkReport;LocalVariableTypeTable[TSolution_;MLjava/util/List;z	Signature_([TSolution_;)Lai/timefold/solver/benchmark/api/PlannerBenchmark;RuntimeVisibleAnnotationsLjava/lang/SafeVarargs;
threadFactory$Ljava/util/concurrent/ThreadFactory;uniqueZ
generatedNameLjava/lang/String;nameSetLjava/util/Set;noNameBenchmarkConfigSetgeneratedNameIndex#Ljava/util/Set;LLjava/util/Set;solverBenchmarkBluePrintConfigNLai/timefold/solver/benchmark/config/blueprint/SolverBenchmarkBluePrintConfig;O()Ljava/util/List;resolvedParallelBenchmarkCountavailableProcessorCountwarmUpTimeMillisSpentLimitJ
SourceFile#DefaultPlannerBenchmarkFactory.javaBootstrapMethods?
????$java/lang/invoke/StringConcatFactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;?.The plannerBenchmarkConfig () cannot be null.?|The plannerBenchmark name () is invalid because it does not follow the nameRegex () which might cause an illegal filename.?SThe plannerBenchmark name () is invalid because it starts or ends with whitespace.?8The benchmark name () is used in more than 1 benchmark.?Config_?eThe parallelBenchmarkCount () resulted in a resolvedParallelBenchmarkCount () that is lower than 1.?8The warmUpMillisecondsSpentLimit () cannot be negative.?3The warmUpSecondsSpentLimit () cannot be negative.?3The warmUpMinutesSpentLimit () cannot be negative.?1The warmUpHoursSpentLimit () cannot be negative.?0The warmUpDaysSpentLimit () cannot be negative.InnerClasses?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup!??56mnu*?+??Y+?	?
?*+??o'()+,pqrs?*tn3	*???o7p	qr?n?*?*?*?"M?&Y?(N-*??)?/-?2?8*?<6-?@?E-*?IM?O?T?P?Z-?^Y?`?a-?^Y,?e?j?m,?p:?t?+?z?~:??Y??:*???-+?????*????
??Y???
*???:??Y??-??:??Y-*???*??*?????o^=>?
@A B(C.D7E9FKGVHgI?J?K?M?P?Q?R?S?T?U?Tp\	?uv?wx?qr?yz
?{|?}~.?+?-???????y?
?{?s!?o?f&u?1F???????n?1*????*??*???????M?
??Y???M,???oZ
[\[!^+`p*??1qr1++??s	!?	?n??*??)?[??*??)?Ƕ͚?Y*??)?öҺ??
?*??)??*??)?ݚ?Y*??)???
?*????*????
??Y??o*
d
ef+h7kNlbpsq|r?vp?qrs7*#!n??*????ջ?Y*???e??L??Y*???e??M*???pN-?t?I-?z?~:???*+????6??Y?????
??,??W???>,?:?t?=?z?~:?:+????:?????????oZy
z{&|2}S~[h?m??????????????????????????pRh??S8wx?#???+wx???2????L??qr????2???s6	????u??~???	u?~??$%n<??^Y?jL*????+*???W*????1*???pM,?t?,?z?N+-?
?W???*???,+?pM,?t?,?z?~N-*???W???+?o:?	??!?+?/?2?K?V?Y?c?}?????p*K??}wx?qr	?{|?	?{?s?!f?u? ?u?!??>?n&}??<*??!?=?4*??!$?ݙ*?&=?**??!??Y$S?,=???Y*??!?0????37?@?@?9=?oJ???? ?&?/?6?C?G?L?T?a?f?m?t?y?{?p4?,?}qrv?G6?s
??()nb????l`?o?????pqr?sKLn7m*????-*??B?#*??E?*??H?*??K??	@*????3*????N	????Y*????R??*????Na@*??B?7*??B?N	????Y*??B?U??*??B?NVia@*??E?7*??E?N	????Y*??E?X??*??E?NYia@*??H?7*??H?N	????Y*??H?[??*??H?N\ia@*??K?7*??K?N	????Y*??K?^??*??K?N_ia@?O?o?!???"?,?2?4?6?@?O?W?c?p?z??????????????????????
??*?4?C?K?W?hpmqr67??s4?.,,,,?n.a?c???g?3?o
"	#???D???????????????????????
???




© 2015 - 2025 Weber Informatics LLC | Privacy Policy