|
OptaPlanner distribution 6.2.0.Final | |||||||||
| PREV NEXT | FRAMES NO FRAMES |
| Uses of Score in org.optaplanner.benchmark.impl.measurement |
|---|
| Methods in org.optaplanner.benchmark.impl.measurement with type parameters of type Score | ||
|---|---|---|
static
|
ScoreDifferencePercentage.calculateScoreDifferencePercentage(Score<S> baseScore,
Score<S> valueScore)
|
| Methods in org.optaplanner.benchmark.impl.measurement with parameters of type Score | ||
|---|---|---|
static
|
ScoreDifferencePercentage.calculateScoreDifferencePercentage(Score<S> baseScore,
Score<S> valueScore)
|
|
static
|
ScoreDifferencePercentage.calculateScoreDifferencePercentage(Score<S> baseScore,
Score<S> valueScore)
|
| Uses of Score in org.optaplanner.benchmark.impl.ranking |
|---|
| Methods in org.optaplanner.benchmark.impl.ranking with parameters of type Score | |
|---|---|
int |
ResilientScoreComparator.compare(Score a,
Score b)
|
int |
ResilientScoreComparator.compare(Score a,
Score b)
|
| Uses of Score in org.optaplanner.benchmark.impl.result |
|---|
| Methods in org.optaplanner.benchmark.impl.result that return Score | |
|---|---|
Score |
SolverBenchmarkResult.getAverageScore()
|
Score |
PlannerBenchmarkResult.getAverageScore()
|
Score |
SolverBenchmarkResult.getAverageWinningScoreDifference()
|
Score |
SingleBenchmarkResult.getScore()
|
Score |
SolverBenchmarkResult.getTotalScore()
|
Score |
SolverBenchmarkResult.getTotalWinningScoreDifference()
|
Score |
SingleBenchmarkResult.getWinningScoreDifference()
|
| Methods in org.optaplanner.benchmark.impl.result that return types with arguments of type Score | |
|---|---|
List<Score> |
SolverBenchmarkResult.getScoreList()
|
| Methods in org.optaplanner.benchmark.impl.result with parameters of type Score | |
|---|---|
void |
SingleBenchmarkResult.setScore(Score score)
|
void |
SingleBenchmarkResult.setWinningScoreDifference(Score winningScoreDifference)
|
| Uses of Score in org.optaplanner.benchmark.impl.statistic.bestscore |
|---|
| Methods in org.optaplanner.benchmark.impl.statistic.bestscore that return Score | |
|---|---|
Score |
BestScoreStatisticPoint.getScore()
|
| Constructors in org.optaplanner.benchmark.impl.statistic.bestscore with parameters of type Score | |
|---|---|
BestScoreStatisticPoint(long timeMillisSpent,
Score score)
|
| Uses of Score in org.optaplanner.benchmark.impl.statistic.single.pickedmovetypebestscore |
|---|
| Methods in org.optaplanner.benchmark.impl.statistic.single.pickedmovetypebestscore that return Score | |
|---|---|
Score |
PickedMoveTypeBestScoreDiffStatisticPoint.getBestScoreDiff()
|
| Constructors in org.optaplanner.benchmark.impl.statistic.single.pickedmovetypebestscore with parameters of type Score | |
|---|---|
PickedMoveTypeBestScoreDiffStatisticPoint(long timeMillisSpent,
String moveType,
Score bestScoreDiff)
|
| Uses of Score in org.optaplanner.benchmark.impl.statistic.single.pickedmovetypestepscore |
|---|
| Methods in org.optaplanner.benchmark.impl.statistic.single.pickedmovetypestepscore that return Score | |
|---|---|
Score |
PickedMoveTypeStepScoreDiffStatisticPoint.getStepScoreDiff()
|
| Constructors in org.optaplanner.benchmark.impl.statistic.single.pickedmovetypestepscore with parameters of type Score | |
|---|---|
PickedMoveTypeStepScoreDiffStatisticPoint(long timeMillisSpent,
String moveType,
Score stepScoreDiff)
|
| Uses of Score in org.optaplanner.benchmark.impl.statistic.stepscore |
|---|
| Methods in org.optaplanner.benchmark.impl.statistic.stepscore that return Score | |
|---|---|
Score |
StepScoreStatisticPoint.getScore()
|
| Constructors in org.optaplanner.benchmark.impl.statistic.stepscore with parameters of type Score | |
|---|---|
StepScoreStatisticPoint(long timeMillisSpent,
Score score)
|
| Uses of Score in org.optaplanner.core.api.domain.solution |
|---|
| Classes in org.optaplanner.core.api.domain.solution with type parameters of type Score | |
|---|---|
interface |
Solution<S extends Score>
A Solution represents a problem and a possible solution of that problem. |
| Uses of Score in org.optaplanner.core.api.score |
|---|
| Classes in org.optaplanner.core.api.score with type parameters of type Score | |
|---|---|
class |
AbstractScore<S extends Score>
Abstract superclass for Score . |
interface |
Score<S extends Score>
A Score is result of the score function (AKA fitness function) on a single possible solution. |
| Subinterfaces of Score in org.optaplanner.core.api.score | |
|---|---|
interface |
FeasibilityScore<S extends FeasibilityScore>
A Score that supports FeasibilityScore.isFeasible() . |
| Classes in org.optaplanner.core.api.score that implement Score | |
|---|---|
class |
AbstractScore<S extends Score>
Abstract superclass for Score . |
| Methods in org.optaplanner.core.api.score with parameters of type Score | |
|---|---|
boolean |
Score.isCompatibleArithmeticArgument(Score otherScore)
|
boolean |
AbstractScore.isCompatibleArithmeticArgument(Score otherScore)
|
| Method parameters in org.optaplanner.core.api.score with type arguments of type Score | |
|---|---|
protected static BigDecimal |
AbstractScore.parseLevelAsBigDecimal(Class<? extends Score> scoreClass,
String scoreString,
String levelString)
|
protected static double |
AbstractScore.parseLevelAsDouble(Class<? extends Score> scoreClass,
String scoreString,
String levelString)
|
protected static int |
AbstractScore.parseLevelAsInt(Class<? extends Score> scoreClass,
String scoreString,
String levelString)
|
protected static long |
AbstractScore.parseLevelAsLong(Class<? extends Score> scoreClass,
String scoreString,
String levelString)
|
protected static String[] |
AbstractScore.parseLevelStrings(Class<? extends Score> scoreClass,
String scoreString,
int levelsSize)
|
protected static String[] |
AbstractScore.parseLevelStrings(Class<? extends Score> scoreClass,
String scoreString,
String... levelSuffixes)
|
| Uses of Score in org.optaplanner.core.api.score.buildin.bendable |
|---|
| Classes in org.optaplanner.core.api.score.buildin.bendable that implement Score | |
|---|---|
class |
BendableScore
This Score is based on n levels of int constraints. |
| Methods in org.optaplanner.core.api.score.buildin.bendable that return Score | |
|---|---|
Score |
BendableScoreHolder.extractScore()
|
| Methods in org.optaplanner.core.api.score.buildin.bendable with parameters of type Score | |
|---|---|
boolean |
BendableScore.isCompatibleArithmeticArgument(Score otherScore)
|
| Uses of Score in org.optaplanner.core.api.score.buildin.bendablebigdecimal |
|---|
| Classes in org.optaplanner.core.api.score.buildin.bendablebigdecimal that implement Score | |
|---|---|
class |
BendableBigDecimalScore
This Score is based on n levels of BigDecimal constraints. |
| Methods in org.optaplanner.core.api.score.buildin.bendablebigdecimal that return Score | |
|---|---|
Score |
BendableBigDecimalScoreHolder.extractScore()
|
| Methods in org.optaplanner.core.api.score.buildin.bendablebigdecimal with parameters of type Score | |
|---|---|
boolean |
BendableBigDecimalScore.isCompatibleArithmeticArgument(Score otherScore)
|
| Uses of Score in org.optaplanner.core.api.score.buildin.bendablelong |
|---|
| Classes in org.optaplanner.core.api.score.buildin.bendablelong that implement Score | |
|---|---|
class |
BendableLongScore
This Score is based on n levels of long constraints. |
| Methods in org.optaplanner.core.api.score.buildin.bendablelong that return Score | |
|---|---|
Score |
BendableLongScoreHolder.extractScore()
|
| Methods in org.optaplanner.core.api.score.buildin.bendablelong with parameters of type Score | |
|---|---|
boolean |
BendableLongScore.isCompatibleArithmeticArgument(Score otherScore)
|
| Uses of Score in org.optaplanner.core.api.score.buildin.hardmediumsoft |
|---|
| Classes in org.optaplanner.core.api.score.buildin.hardmediumsoft that implement Score | |
|---|---|
class |
HardMediumSoftScore
This Score is based on 3 levels of int constraints: hard, medium and soft. |
| Methods in org.optaplanner.core.api.score.buildin.hardmediumsoft that return Score | |
|---|---|
Score |
HardMediumSoftScoreHolder.extractScore()
|
| Uses of Score in org.optaplanner.core.api.score.buildin.hardmediumsoftlong |
|---|
| Classes in org.optaplanner.core.api.score.buildin.hardmediumsoftlong that implement Score | |
|---|---|
class |
HardMediumSoftLongScore
This Score is based on 3 levels of long constraints: hard, medium and soft. |
| Methods in org.optaplanner.core.api.score.buildin.hardmediumsoftlong that return Score | |
|---|---|
Score |
HardMediumSoftLongScoreHolder.extractScore()
|
| Uses of Score in org.optaplanner.core.api.score.buildin.hardsoft |
|---|
| Classes in org.optaplanner.core.api.score.buildin.hardsoft that implement Score | |
|---|---|
class |
HardSoftScore
This Score is based on 2 levels of int constraints: hard and soft. |
| Methods in org.optaplanner.core.api.score.buildin.hardsoft that return Score | |
|---|---|
Score |
HardSoftScoreHolder.extractScore()
|
| Uses of Score in org.optaplanner.core.api.score.buildin.hardsoftbigdecimal |
|---|
| Classes in org.optaplanner.core.api.score.buildin.hardsoftbigdecimal that implement Score | |
|---|---|
class |
HardSoftBigDecimalScore
This Score is based on 2 levels of BigDecimal constraints: hard and soft. |
| Methods in org.optaplanner.core.api.score.buildin.hardsoftbigdecimal that return Score | |
|---|---|
Score |
HardSoftBigDecimalScoreHolder.extractScore()
|
| Uses of Score in org.optaplanner.core.api.score.buildin.hardsoftdouble |
|---|
| Classes in org.optaplanner.core.api.score.buildin.hardsoftdouble that implement Score | |
|---|---|
class |
HardSoftDoubleScore
This Score is based on 2 levels of double constraints: hard and soft. |
| Methods in org.optaplanner.core.api.score.buildin.hardsoftdouble that return Score | |
|---|---|
Score |
HardSoftDoubleScoreHolder.extractScore()
|
| Uses of Score in org.optaplanner.core.api.score.buildin.hardsoftlong |
|---|
| Classes in org.optaplanner.core.api.score.buildin.hardsoftlong that implement Score | |
|---|---|
class |
HardSoftLongScore
This Score is based on 2 levels of long constraints: hard and soft. |
| Methods in org.optaplanner.core.api.score.buildin.hardsoftlong that return Score | |
|---|---|
Score |
HardSoftLongScoreHolder.extractScore()
|
| Uses of Score in org.optaplanner.core.api.score.buildin.simple |
|---|
| Classes in org.optaplanner.core.api.score.buildin.simple that implement Score | |
|---|---|
class |
SimpleScore
This Score is based on 1 level of int constraints. |
| Methods in org.optaplanner.core.api.score.buildin.simple that return Score | |
|---|---|
Score |
SimpleScoreHolder.extractScore()
|
| Uses of Score in org.optaplanner.core.api.score.buildin.simplebigdecimal |
|---|
| Classes in org.optaplanner.core.api.score.buildin.simplebigdecimal that implement Score | |
|---|---|
class |
SimpleBigDecimalScore
This Score is based on 1 level of BigDecimal constraints. |
| Methods in org.optaplanner.core.api.score.buildin.simplebigdecimal that return Score | |
|---|---|
Score |
SimpleBigDecimalScoreHolder.extractScore()
|
| Uses of Score in org.optaplanner.core.api.score.buildin.simpledouble |
|---|
| Classes in org.optaplanner.core.api.score.buildin.simpledouble that implement Score | |
|---|---|
class |
SimpleDoubleScore
This Score is based on 1 level of double constraints. |
| Methods in org.optaplanner.core.api.score.buildin.simpledouble that return Score | |
|---|---|
Score |
SimpleDoubleScoreHolder.extractScore()
|
| Uses of Score in org.optaplanner.core.api.score.buildin.simplelong |
|---|
| Classes in org.optaplanner.core.api.score.buildin.simplelong that implement Score | |
|---|---|
class |
SimpleLongScore
This Score is based on 1 level of long constraints. |
| Methods in org.optaplanner.core.api.score.buildin.simplelong that return Score | |
|---|---|
Score |
SimpleLongScoreHolder.extractScore()
|
| Uses of Score in org.optaplanner.core.api.score.comparator |
|---|
| Methods in org.optaplanner.core.api.score.comparator with parameters of type Score | |
|---|---|
int |
NaturalScoreComparator.compare(Score score1,
Score score2)
|
int |
NaturalScoreComparator.compare(Score score1,
Score score2)
|
| Uses of Score in org.optaplanner.core.api.score.holder |
|---|
| Methods in org.optaplanner.core.api.score.holder that return Score | |
|---|---|
Score |
ScoreHolder.extractScore()
Extracts the Score , calculated by the KieSession for DroolsScoreDirector . |
| Uses of Score in org.optaplanner.core.impl.constructionheuristic.decider.forager |
|---|
| Fields in org.optaplanner.core.impl.constructionheuristic.decider.forager with type parameters of type Score | |
|---|---|
protected Comparator<Score> |
DefaultConstructionHeuristicForager.scoreComparator
|
| Uses of Score in org.optaplanner.core.impl.constructionheuristic.scope |
|---|
| Methods in org.optaplanner.core.impl.constructionheuristic.scope that return Score | |
|---|---|
Score |
ConstructionHeuristicMoveScope.getScore()
|
| Methods in org.optaplanner.core.impl.constructionheuristic.scope with parameters of type Score | |
|---|---|
void |
ConstructionHeuristicMoveScope.setScore(Score score)
|
| Uses of Score in org.optaplanner.core.impl.exhaustivesearch.node |
|---|
| Methods in org.optaplanner.core.impl.exhaustivesearch.node that return Score | |
|---|---|
Score |
ExhaustiveSearchNode.getOptimisticBound()
|
Score |
ExhaustiveSearchNode.getScore()
|
| Methods in org.optaplanner.core.impl.exhaustivesearch.node with parameters of type Score | |
|---|---|
void |
ExhaustiveSearchNode.setOptimisticBound(Score optimisticBound)
|
void |
ExhaustiveSearchNode.setScore(Score score)
|
| Uses of Score in org.optaplanner.core.impl.exhaustivesearch.node.bounder |
|---|
| Methods in org.optaplanner.core.impl.exhaustivesearch.node.bounder that return Score | |
|---|---|
Score |
TrendBasedScoreBounder.calculateOptimisticBound(ScoreDirector scoreDirector,
Score score)
|
Score |
ScoreBounder.calculateOptimisticBound(ScoreDirector scoreDirector,
Score score)
In OR terms, this is called the lower bound if they minimize, and upper bound if they maximize. |
Score |
TrendBasedScoreBounder.calculatePessimisticBound(ScoreDirector scoreDirector,
Score score)
|
Score |
ScoreBounder.calculatePessimisticBound(ScoreDirector scoreDirector,
Score score)
In OR terms, this is called the upper bound if they minimize, and lower bound if they maximize. |
| Methods in org.optaplanner.core.impl.exhaustivesearch.node.bounder with parameters of type Score | |
|---|---|
Score |
TrendBasedScoreBounder.calculateOptimisticBound(ScoreDirector scoreDirector,
Score score)
|
Score |
ScoreBounder.calculateOptimisticBound(ScoreDirector scoreDirector,
Score score)
In OR terms, this is called the lower bound if they minimize, and upper bound if they maximize. |
Score |
TrendBasedScoreBounder.calculatePessimisticBound(ScoreDirector scoreDirector,
Score score)
|
Score |
ScoreBounder.calculatePessimisticBound(ScoreDirector scoreDirector,
Score score)
In OR terms, this is called the upper bound if they minimize, and lower bound if they maximize. |
| Uses of Score in org.optaplanner.core.impl.exhaustivesearch.scope |
|---|
| Methods in org.optaplanner.core.impl.exhaustivesearch.scope that return Score | |
|---|---|
Score |
ExhaustiveSearchPhaseScope.getBestPessimisticBound()
|
| Methods in org.optaplanner.core.impl.exhaustivesearch.scope with parameters of type Score | |
|---|---|
void |
ExhaustiveSearchPhaseScope.registerPessimisticBound(Score pessimisticBound)
|
void |
ExhaustiveSearchPhaseScope.setBestPessimisticBound(Score bestPessimisticBound)
|
| Uses of Score in org.optaplanner.core.impl.localsearch.decider.acceptor.lateacceptance |
|---|
| Fields in org.optaplanner.core.impl.localsearch.decider.acceptor.lateacceptance declared as Score | |
|---|---|
protected Score[] |
LateAcceptanceAcceptor.previousScores
|
| Uses of Score in org.optaplanner.core.impl.localsearch.decider.acceptor.latesimulatedannealing |
|---|
| Fields in org.optaplanner.core.impl.localsearch.decider.acceptor.latesimulatedannealing declared as Score | |
|---|---|
protected Score[] |
LateSimulatedAnnealingAcceptor.previousScores
Deprecated. |
| Uses of Score in org.optaplanner.core.impl.localsearch.decider.acceptor.simulatedannealing |
|---|
| Fields in org.optaplanner.core.impl.localsearch.decider.acceptor.simulatedannealing declared as Score | |
|---|---|
protected Score |
SimulatedAnnealingAcceptor.startingTemperature
|
| Methods in org.optaplanner.core.impl.localsearch.decider.acceptor.simulatedannealing with parameters of type Score | |
|---|---|
void |
SimulatedAnnealingAcceptor.setStartingTemperature(Score startingTemperature)
|
| Uses of Score in org.optaplanner.core.impl.localsearch.decider.acceptor.stepcountinghillclimbing |
|---|
| Fields in org.optaplanner.core.impl.localsearch.decider.acceptor.stepcountinghillclimbing declared as Score | |
|---|---|
protected Score |
StepCountingHillClimbingAcceptor.thresholdScore
|
| Uses of Score in org.optaplanner.core.impl.localsearch.decider.deciderscorecomparator |
|---|
| Methods in org.optaplanner.core.impl.localsearch.decider.deciderscorecomparator that return types with arguments of type Score | |
|---|---|
Comparator<Score> |
ShiftingHardPenaltyDeciderScoreComparatorFactory.createDeciderScoreComparator()
|
Comparator<Score> |
NaturalDeciderScoreComparatorFactory.createDeciderScoreComparator()
|
Comparator<Score> |
DeciderScoreComparatorFactory.createDeciderScoreComparator()
|
| Uses of Score in org.optaplanner.core.impl.localsearch.decider.forager.finalist |
|---|
| Fields in org.optaplanner.core.impl.localsearch.decider.forager.finalist declared as Score | |
|---|---|
protected Score |
StrategicOscillationByLevelFinalistPodium.finalistScore
|
protected Score |
HighestScoreFinalistPodium.finalistScore
|
| Uses of Score in org.optaplanner.core.impl.localsearch.scope |
|---|
| Methods in org.optaplanner.core.impl.localsearch.scope that return Score | |
|---|---|
Score |
LocalSearchMoveScope.getScore()
|
| Methods in org.optaplanner.core.impl.localsearch.scope with parameters of type Score | |
|---|---|
void |
LocalSearchMoveScope.setScore(Score score)
|
| Uses of Score in org.optaplanner.core.impl.phase.scope |
|---|
| Fields in org.optaplanner.core.impl.phase.scope declared as Score | |
|---|---|
protected Score |
AbstractStepScope.score
|
protected Score |
AbstractPhaseScope.startingScore
|
| Methods in org.optaplanner.core.impl.phase.scope that return Score | |
|---|---|
Score |
AbstractPhaseScope.calculateScore()
|
Score |
AbstractPhaseScope.getBestScore()
|
Score |
AbstractStepScope.getScore()
|
Score |
AbstractPhaseScope.getStartingScore()
|
| Methods in org.optaplanner.core.impl.phase.scope with parameters of type Score | |
|---|---|
void |
AbstractPhaseScope.assertExpectedWorkingScore(Score expectedWorkingScore,
Object completedAction)
|
void |
AbstractPhaseScope.assertWorkingScoreFromScratch(Score workingScore,
Object completedAction)
|
void |
AbstractStepScope.setScore(Score score)
|
| Uses of Score in org.optaplanner.core.impl.score |
|---|
| Methods in org.optaplanner.core.impl.score with parameters of type Score | |
|---|---|
static double[] |
ScoreUtils.extractLevelDoubles(Score score)
|
| Uses of Score in org.optaplanner.core.impl.score.comparator |
|---|
| Methods in org.optaplanner.core.impl.score.comparator with parameters of type Score | |
|---|---|
int |
FlatteningHardSoftScoreComparator.compare(Score s1,
Score s2)
|
int |
FlatteningHardSoftScoreComparator.compare(Score s1,
Score s2)
|
| Uses of Score in org.optaplanner.core.impl.score.definition |
|---|
| Classes in org.optaplanner.core.impl.score.definition with type parameters of type Score | |
|---|---|
class |
AbstractScoreDefinition<S extends Score>
Abstract superclass for ScoreDefinition . |
interface |
ScoreDefinition<S extends Score>
A ScoreDefinition knows how to compare Score s and what the perfect maximum/minimum Score is. |
| Uses of Score in org.optaplanner.core.impl.score.director |
|---|
| Methods in org.optaplanner.core.impl.score.director that return Score | |
|---|---|
Score |
ScoreDirector.calculateScore()
Calculates the Score and updates the workingSolution accordingly. |
| Methods in org.optaplanner.core.impl.score.director with parameters of type Score | |
|---|---|
void |
InnerScoreDirector.assertExpectedWorkingScore(Score expectedWorkingScore,
Object completedAction)
Asserts that if the Score is calculated for the current workingSolution
in the current ScoreDirector (with possibly incremental calculation residue),
it is equal to the parameter expectedWorkingScore . |
void |
AbstractScoreDirector.assertExpectedWorkingScore(Score expectedWorkingScore,
Object completedAction)
|
void |
InnerScoreDirector.assertWorkingScoreFromScratch(Score workingScore,
Object completedAction)
Asserts that if the Score is calculated for the current workingSolution
in a fresh ScoreDirector (with no incremental calculation residue),
it is equal to the parameter workingScore . |
void |
AbstractScoreDirector.assertWorkingScoreFromScratch(Score workingScore,
Object completedAction)
|
protected void |
AbstractScoreDirector.setCalculatedScore(Score score)
|
| Uses of Score in org.optaplanner.core.impl.score.director.drools |
|---|
| Methods in org.optaplanner.core.impl.score.director.drools that return Score | |
|---|---|
Score |
DroolsScoreDirector.calculateScore()
|
| Uses of Score in org.optaplanner.core.impl.score.director.easy |
|---|
| Methods in org.optaplanner.core.impl.score.director.easy that return Score | |
|---|---|
Score |
EasyScoreDirector.calculateScore()
|
Score |
EasyScoreCalculator.calculateScore(Sol solution)
|
| Uses of Score in org.optaplanner.core.impl.score.director.incremental |
|---|
| Methods in org.optaplanner.core.impl.score.director.incremental that return Score | |
|---|---|
Score |
IncrementalScoreDirector.calculateScore()
|
Score |
IncrementalScoreCalculator.calculateScore()
|
| Uses of Score in org.optaplanner.core.impl.solver.recaller |
|---|
| Methods in org.optaplanner.core.impl.solver.recaller with parameters of type Score | |
|---|---|
void |
BestSolutionRecaller.processWorkingSolutionDuringMove(int uninitializedVariableCount,
Score score,
AbstractStepScope stepScope)
|
| Uses of Score in org.optaplanner.core.impl.solver.scope |
|---|
| Fields in org.optaplanner.core.impl.solver.scope declared as Score | |
|---|---|
protected Score |
DefaultSolverScope.bestScore
|
protected Score |
DefaultSolverScope.startingInitializedScore
|
| Methods in org.optaplanner.core.impl.solver.scope that return Score | |
|---|---|
Score |
DefaultSolverScope.calculateScore()
|
Score |
DefaultSolverScope.getBestScore()
|
Score |
DefaultSolverScope.getStartingInitializedScore()
|
| Methods in org.optaplanner.core.impl.solver.scope with parameters of type Score | |
|---|---|
void |
DefaultSolverScope.assertExpectedWorkingScore(Score expectedWorkingScore,
Object completedAction)
|
void |
DefaultSolverScope.assertWorkingScoreFromScratch(Score workingScore,
Object completedAction)
|
void |
DefaultSolverScope.setBestScore(Score bestScore)
|
void |
DefaultSolverScope.setStartingInitializedScore(Score startingInitializedScore)
|
| Uses of Score in org.optaplanner.core.impl.solver.termination |
|---|
| Methods in org.optaplanner.core.impl.solver.termination with parameters of type Score | |
|---|---|
protected double |
BestScoreTermination.calculateTimeGradient(Score startScore,
Score endScore,
Score score)
|
protected double |
BestScoreTermination.calculateTimeGradient(Score startScore,
Score endScore,
Score score)
|
protected double |
BestScoreTermination.calculateTimeGradient(Score startScore,
Score endScore,
Score score)
|
protected boolean |
BestScoreTermination.isTerminated(boolean bestSolutionInitialized,
Score bestScore)
|
protected boolean |
BestScoreFeasibleTermination.isTerminated(boolean bestSolutionInitialized,
Score bestScore)
|
| Constructors in org.optaplanner.core.impl.solver.termination with parameters of type Score | |
|---|---|
BestScoreTermination(ScoreDefinition scoreDefinition,
Score bestScoreLimit,
double[] timeGradientWeightNumbers)
|
| Uses of Score in org.optaplanner.examples.common.business |
|---|
| Methods in org.optaplanner.examples.common.business that return Score | |
|---|---|
Score |
SolutionBusiness.getScore()
|
| Uses of Score in org.optaplanner.examples.projectjobscheduling.solver.score |
|---|
| Methods in org.optaplanner.examples.projectjobscheduling.solver.score that return Score | |
|---|---|
Score |
ProjectJobSchedulingIncrementalScoreCalculator.calculateScore()
|
| Uses of Score in org.optaplanner.persistence.xstream.impl.score |
|---|
| Constructor parameters in org.optaplanner.persistence.xstream.impl.score with type arguments of type Score | |
|---|---|
XStreamScoreConverter(Class<? extends Score> scoreClass,
Class<? extends ScoreDefinition> scoreDefinitionClass)
|
|
OptaPlanner distribution 6.2.0.Final | |||||||||
| PREV NEXT | FRAMES NO FRAMES |


Amber Rudd joins fellow Tory rebel David Gauke on campaign trail
David Gauke is running as an independent in South West Hertfordshire – a seat he has held since 2005
Former Conservative home secretary Amber Rudd is going against the Tories and backing an independent former cabinet colleague to retain his seat in Hertfordshire.
Ms Rudd, who resigned from the cabinet and lost the Tory whip over opposition to a no-deal Brexit in September, has put her support behind fellow former Conservative David Gauke.
Mr Gauke, who was justice secretary as recently as July, is running as an independent in South West Hertfordshire – a seat he has held since 2005.
He is up against Conservative candidate Gagan Mohindra.
The constituency has been won by the Tories in every election, with Mr Gauke taking 58% of the vote in the 2017 ballot.
Ms Rudd, who stepped down as MP for Hastings and Rye when the election was called, was campaigning with Mr Gauke in Rickmansworth on Monday.
“I’m a Conservative. David is a liberal Conservative. I believe in what he stands for,” she told the PA news agency.
“It would be great for this country if he returns as an MP.”
The pair met locals in Rickmansworth’s High Street before door-knocking around the area.
Mr Gauke had previously warned that the UK will be heading for a no-deal Brexit if Boris Johnson wins an overall majority on December 12 – with “disastrous” consequences for the economy.
He suggested Conservative supporters opposed to no-deal should consider “lending” their votes to the Liberal Democrats.
On Monday, Mr Gauke was approached by a resident who said they were disappointed about his decision to leave the Tories.
Val Pooley told Mr Gauke he was going against the people who voted to leave the EU.
“I am sorry but I’m cross that you’ve switched out of Conservative because I believe, as Conservatives, we wanted out. That’s what we voted for and you’re going against the people’s vote,” she said.
Ms Pooley, who lives in Maple Cross, said she wasn’t sure who to vote for in the area now.
“I don’t know whether we have a Conservative option in this area that I am able to vote for,” she told the PA news agency.
“He’s very much disappointed the electorate for switching. You can’t flip-flop and expect everyone to still vote for you.”
Another resident, Jasim Ahmed, was more forgiving.
“I’m not disappointed at all,” he told the PA news agency. “He’s still the right person for the area.”
Mr Gauke was one of 21 MPs kicked out of the party in September after they backed a plan to take control of the Commons timetable to pass legislation to block a no-deal Brexit.
He told the PA news agency he understands some voters are not pleased about his decision to run as an independent but said he had been getting positive responses from most of those he met in the constituency.
“There are lots of people coming forward… these are people who feel a bit homeless and welcome the opportunity to vote independent,” he said.
“The response so far has been much more positive than I expected.”


Preparation time
overnight
Cooking time
no cooking required
Serves
Serves 10-20
To make the curing mixture for the salmon, place the salt, sugar and crushed white peppercorns in a bowl.
Add half the dill and stir to combine.
Use cling film to line a large, shallow, rectangular dish which fits the salmon comfortably.
Sprinkle a quarter of the curing mixture over the base of the dish and lay one of the salmon fillets on top, skin side down.
Sprinkle half of the curing mixture on top and cover with the other salmon fillet, skin side up.
Sprinkle the remaining curing mixture on top and wrap the salmon in cling film.
Weigh the salmon down with some weights or cans to help squeeze out any excess liquid or moisture. Place in the fridge for 2-3 days, turning the salmon over every 6 hours or so, replacing the weights after turning.
After 2-3 days, unwrap the salmon. Rinse the curing mixture off the gravadlax using cold water and pat fish dry with kitchen paper.
Lay a large piece of cling film on the work surface and place one of the fillets on top, skin side down. Cover with the remaining fresh dill and place the other salmon fillet on top, skin side up. Wrap tightly in cling film and chill for six hours.
Meanwhile, to make the sauce, place the mustard, sugar, vinegar and egg yolk in a large bowl and whisk to combine.
Add the oil drop by drop to begin with, then in a steady stream, whisking constantly, until the sauce becomes thick and smooth.
Stir in the dill and season to taste.
To serve, cut the gravadlax into thin slices using a sharp knife, leaving the skin behind. Gravadlax is traditionally served sliced thicker than smoked salmon.
Place three or flour slices on each serving plate and add a spoonful of the sauce to the side.
Serve at once with rye bread.


The Panhellenic Association at Miami University is comprised of seventeen nationally recognized sororities. Panhellenic strives to bring women together and empower them to be their best selves. Sororities provide individuals with a variety of different programs and competitions. Greek life also participates in various philanthropic events. For more information you can check out the Panhellenic Website.
You must have have earned 12 credit hours at Miami University or another college or university You must have a minimum cumulative GPA of 2.5 Eligibility requirements must be met at end of the semester prior to accepting a bid for sorority membership You must be a full time Oxford Campus student during the semester in which you participate in recruitment All rst year women who join a sorority are required to live in the sorority corridor during their second year and must sign an on-campus housing agreement to facilitate that
October 22 & 23: Sprite Dates 11am-1pm | Sorority Suites November 9: Rho Gamma Fashion Show 7pm | Armstrong Pavilion January 4, 2017 5:00 PM: Deadline to register January 26: Panhellenic Recruitment Kickoff 7pm last names A-L and 8:30 pm last names M-Z January 27-28: Welcome Round January 29: Philanthrophy round Feb 2-3: Sisterhood Round Feb 4: Preference Round February 5: Bid Day


01-May-2017 | Milku
I think I'll celebrate Beltane instead as that comes with a feast.
Happy May Day!
At least my humans didn’t get up as early as some Oxonians to celebrate the arrival of Spring. Celebrations started in Oxford at 6am, with the Magdalen College choir singing “Hymnus Eucharisticus” from the Great Tower. That’s followed by the bells ringing out over the city for about 20 minutes. No sleeping in there. But there are compensations as bars and pubs are open. And you can watch the Morris Men dancing in Radcliffe Square, Catte Street and Broad Street.
No dancing or alcoholic beverages here...maybe later...
 I’ve written my human friends’ names using chemical element symbols. Can you guess what they’re called?
If the square is blue, then it’s the current symbol that I’ve used. If it’s an burnt orange colour – well it is on my screen – then the symbol is discontinued. Give me a break...I couldn't find current symbols to suit all the letters I wanted. A hamster treat to the person who guesses all the names correctly. Click on the image to see the answer.
The last symbol (letter) doesn't have an atomic number because it isn't actually a single element although Carl Mosander thought it was in 1841. In 1879, Lecoq de Boisbaudran isolated samarium from this material. Then in 1885, Carl Auer von Welsbach separated out the other component elements, which were soon named praseodymium and neodymium.
Did you get it right? How about another one?
I have got 3 little human friends so you might as well find out the name of the third one. OK?


@* * Copyright 2023 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *@ @this( h2: H2, paragraph: Paragraph, necessaryMessage: NecessaryMessage, measurementRadio: MeasurementRadio, settingsRadio: SettingsRadio, govukButton: GovukButton, findOutMoreLink: FindOutMoreLink) @()(implicit messages: Messages, appConfig: AppConfig)


Daring Fireball: Apple Park Visitor Center's Accessibility
Doxie
: give the gift of paperless with Amazon promo code ‘FIREBALL’ for 35% off.


I have a new project I started and I could reevaluate my toolset :) I decided to take a closer look at Ninject, Moq and NSpecify. Moq has been talked about enough I think, a really nice way of mocking and I will definitely be using more of it. My original plan was to write one big blog post.. but it is going to be far too long, so I’m breaking it up in smaller bite size pieces.
What I did was download the code, have it rest on my pc for about a week, updated again when I really got round to using it. I read the wiki which gives a short introduction on what’s what in Ninject and everybodies jobs. Decided that the wiki was cool for some more theoretical knowledge but I really needed to see more code.
I opened the project and something rare happened: I was actually very happy with the code I found, not always the case I can tell you ;). Anyway the gold is in the unit tests, it’s got great test coverage and it shows lots of the possibilities of Ninject. It’s like a great big manual for you to get really advanced with it really quickly. I was slightly disappointed to see that there was no NLog support for Ninject, that disappointment quickly turned in to joy when I figured out it only took me 20 minutes to plug NLog in. And it was added to the trunk the same day.
Now I don’t want to make this post about which DI framework is better Windsor, Spring, Structuremap or Ninject. I just know that Ninject and I will become good friends over the next couple of months I like it. Ninject outsources its proxy generation to either Castle’s DynamicProxy2 or to LinFu DynamicProxy. LinFu seemed like an interesting choice after reading this codeproject article. It’s supposedly faster than castle’s dynamic proxy. Luckily Ayende is there to put this in perspective. And I can confirm that the error messages etc castle’s dynamic proxy generates are a lot more useful than LinFu.
Anyway I’m using LinFu at the moment as the proxy generator for Ninject. I will walk you through a sample application I built that will deal with the following subjects of Ninject, Lightspeed and NLog. For Ninject we will use the dependency injection and it’s interceptor possibilities to implement AOP style logging. For Lightspeed we will create our own logger to plug into the context so that we can log what Lightspeed does too. And we want NLog to log through Lightspeed to our database so we’ll be creating a custom target for NLog as well.
But let’s start at the beginning doing DI with Ninject :).
The most important thing to remember: MAKE YOUR METHODS VIRTUAL. Once again make your methods virtual otherwise Ninject has a hard time generating proxies for your classes.
Ninject is different from most other DI Containers in that it doesn’t have XML-configuration, its configuration is done through code (wouldn’t be hard to add an XML configuration for it tho but what’s the point). No XML ?? Suits me fine, everybody that ever worked with me will agree : Ivan no like XML editing. Ninject takes a modular approach by using modules that you pass to a kernel. This is pretty nice that means that an assembly can have a couple of different sets of Modules and all the caller of that assembly needs to do is add the module with the appropriate configuration to their kernel.
Ninject supports DI on constructors, properties, methods and fields: http://dojo.ninject.org/wiki/display/NINJECT/Injection+Patterns.
It basically boils down to decorating the item you want to inject with the attribute [Inject]
Ninject allows you to do a lot of configuration through the use of attributes. But I think I’ll leave it at that for today and continue this tomorrow.
Let’s look at a concrete class from what we’ve seen so far. The class below is the Logger implementation to plug into the LightSpeedContext. We will finish this later on but for now this will be enough to summarize today’s post.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
|
Let me know what you think :)


My box.
Posts
Aug 30, 2017
How to connect neo4j in scala
Aug 30, 2017
How to connect mysql in scala
Aug 30, 2017
Something important when you use sync modle


| DOSE: |
2 hits |
oral |
LSD |
(blotter / tab) |
| |
|
oral |
MDMA |
(powder / crystals) |
I'd known all week that I was going to take acid. It would be only my second time. I really enjoyed my first trip, and was looking forward very much so to my next time.
I started out the night by meeting some friends at a bar, and later we went to a party at a friend's house. I got completely wasted on rum and pot, but by the time we decided to start walking to the next house (and party) I was starting to sober up a bit. My friend (I'll call him E) warned me that the acid was really powerful, and to not take both of my hits at once. Me, in my infinite wisdom, essentially said 'Fuck you, E!' and took both of them on our trip to the second party. I held the tabs (my first time was liquid on sugar cubes, this time it was unmarked blotter paper) under my tongue for a couple minutes before swallowing. The walking helped bring it on rather quickly, undoubtedly the residues of rum and pot in my system helped as well.
I remember getting to the apartment, but later during my trip I completely forgot about it. I started tripping heavily when we got there, but at first it didn't feel much different from my first time. I talked with some people, had trouble keeping my thoughts in order, was fascinated by lights, and danced to music. Music was pretty darn trippy my first time on acid, but this time it seemed to get under my skin and I couldn't help but dance to it. My memory kind of blanks in and out for the next six to eight hours or so. Sometimes I remembered that I was on acid, other times I forgot entirely, and it was like this state of mind was normal.
During times when I remembered, I wasn't scared at all. I have one memory of briefly wondering if I'd permanently fucked my mind over, and this would never end, but I banished that thought. I went from wanting to be around lots of people, to needing a bit of quiet, but still not wanting to be completely alone. At one point I realised that most of the people there were on acid as well, and I remember this being shocking to me -- realising that they were almost as messed up as I was.
The times I didn't remember, I wasn't scared. It was just, weird. I find it so hard to describe now. At one point I was sitting in a spare bedroom with two friends, one of whom was sober, and I found even simple movements very hard to co-ordinate. I managed to smoke a cigarette, and ash in the ashtray, but these took great effort. Apparently I was chainsmoking, although I don't really remember that. At one point a friend and I were talking about random things -- and being that I didn't know I was on acid, I didn't know she was too. So the conversation was rather disjointed, and jumped around a lot -- at one point I realised this, and asked why we were talking about such things in such a way.
My sense of time was completely thrown off. Some things seemed to take forever, others flew by. I'd lay down for a minute and I'd be there, staring at the wall, for half an hour, even though I thought it was a few moments. Or I'd lay down for a few moments, but I'd think it was hours and when I sat up I'd have no memory of what happened before. It's like I was awake, but dreaming, really. The best way I can describe it is similar to how I dream.
At one point some of my friends were pretty concerned, and the party host gave me some pure MDMA to try to help calm down the visuals.  I have no recollection if they helped 'calm down the visuals' or not, because it wasn't really visuals that were messing with me -- no hallucinations of things trying to eat me, no hand of God descending from the sky, nothing. Don't get me wrong, I was having visual hallucinations, I even had tunnel vision at one point, but I've never really hallucinated things that weren't there, unless it's colours.
After six or eight hours or so, I came down enough to look after myself. I was still high for another six hours, however, with feelings of euphoria, lovely kalidaiscopes of colour, and a kind of synesthasea with the music (combination of music causing colours/patterns to form in my vision, along with my body to move in certain ways.) I had interesting conversations with people about drugs, Earth, sex, music, and random other topics, but less disjointed than before -- I could keep better track of my thoughts.
All in all, I wouldn't call it a bad trip, but I definetly couldn't take care of myself for a while there, and I didn't even remember who I was. I really think language drastically fails in describing what I was experiencing for those six/eight hours. I think the only reason why I wasn't scared the times I forgot, was because it just seemed normal. In that way dreams have of being totally weird to your waking mind, but when you're dreaming them everything seems perfectly normal.
I learned some pretty interesting things about myself in the 'second half' of my trip, via discussion with others.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


deletes the extra file named 2
removes the rest of the formatting errors that were the result of the global search and replace
some edits to heir doc, adds 3 fixmes where I have written what I can but they need to be written better.
Updates oracle doc based on conversation with alright, mihailo, jl
`163ca86` this part was dev notes private chains have no ... - gcharang
`bef4234` removes extra file - gcharang
`8b22322` removes some of the formatting errors that were... - gcharang
`5b1ba6a` some esits to the heir-cc doc, and added a deta... - gcharang
`a9d790d` added a FIXME for more clarity on behaviour of ... - gcharang


LOGOUT
PROFILE
SUPPORT
CART
LOGIN
LOGIN
Don't have an account?
Register
REGISTER
Select your Gender
Male
Female
Clone
Rather Not Say
Select The Planet You Are From
Endor
Dagobah
Hoth
Jakku
Kamino
Mustafar
Naboo
Tatooine
SUBMIT
Already have an Account?
Login


|
QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.30
|
Halton low-discrepancy sequence generator. More...
#include <ql/math/randomnumbers/haltonrsg.hpp>
Public Types | |
| typedef Sample< std::vector< Real > > | sample_type |
Public Member Functions | |
| HaltonRsg (Size dimensionality, unsigned long seed=0, bool randomStart=true, bool randomShift=false) | |
| const sample_type & | nextSequence () const |
| const sample_type & | lastSequence () const |
| Size | dimension () const |
Private Attributes | |
| Size | dimensionality_ |
| unsigned long | sequenceCounter_ = 0 |
| sample_type | sequence_ |
| std::vector< unsigned long > | randomStart_ |
| std::vector< Real > | randomShift_ |
Halton low-discrepancy sequence generator.
Halton algorithm for low-discrepancy sequence. For more details see chapter 8, paragraph 2 of "Monte Carlo Methods in Finance", by Peter Jäckel
Definition at line 43 of file haltonrsg.hpp.
| typedef Sample<std::vector<Real> > sample_type |
Definition at line 45 of file haltonrsg.hpp.
| const HaltonRsg::sample_type & nextSequence | ( | ) | const |
Definition at line 56 of file haltonrsg.cpp.
| const sample_type & lastSequence | ( | ) | const |
Definition at line 51 of file haltonrsg.hpp.
| Size dimension | ( | ) | const |
Definition at line 54 of file haltonrsg.hpp.
|
private |
Definition at line 56 of file haltonrsg.hpp.
|
mutableprivate |
Definition at line 57 of file haltonrsg.hpp.
|
mutableprivate |
Definition at line 58 of file haltonrsg.hpp.
|
private |
Definition at line 59 of file haltonrsg.hpp.
|
private |
Definition at line 60 of file haltonrsg.hpp.


Work Week 1
Performance Indicator Forecast
Compare to:
| Output Required | -1 | 5/6 | |
| Output | -756 | 30000 | |
| E-Utilization (%) | 91.5 | ||
| Energy Saved (kWh) | 2000 | 16123 |
Production Output
| Product | Goal | Relative Output |
Rules
Notes
This Demonstrator uses dummy data. Follow the developer guide to replace with your own data
prev next


Benefits of HTML 5 for Mobile Development
- HTML5 has included APIs, hence additonal plug-ins are not required for mobile browsers.
- Mobile development is easier as knowledge of only HTML5, CSS and javascrip is majorly required.
- These are easire as compared to the other languages used for Mobile development. The development is also faster in HTML5.
- HTML5 is compatible with most operating system platforms.
- The mobile applications developed on HTML5 can run on browsers of Android, iOS, Blackberry, Windows Phone and other mobile operationg systems.
- The development cost form creating applications in HTML5 is low.
Download Presentation


{% block media %} {% endblock %}
This is a demonstration of qq.weibomaster.com site for data analysis It was created by Dongweiming.
© 2013 dongwm.com All rights reserved.


11-year-old boy fatally shot in Philadelphia, suspect in custody: police
by Talia KaplanAn 11-year-old boy has died after being shot in Pennsylvania on Monday, said police, adding that a suspect is in custody.
The shooting happened just before noon on Monday in West Philadelphia, The Philadelphia Police Department told Fox News.
Police said they were called about a shooting and when they arrived found an 11-year-old boy with a gunshot wound to the chest.
PENNSYLVANIA BOY, 10, IS SHOT IN THE HEAD ON WALK HOME FROM SCHOOL: POLICE
He was transported to a local hospital by police and was initially listed in critical condition, police said, adding that the boy, who has not yet been identified, was pronounced dead about half-an-hour later.
Police are not releasing information about the suspect, but Fox 29 reported that the victim’s 19-year-old brother is in custody.
Police reportedly said the 19-year-old went door-to-door looking for help from neighbors before leaving the scene. Police told Fox News the male suspect was picked up by police without incident and is now being questioned by homicide detectives.
MAN CHARGED IN SHOOTING DEATH OF 2-YEAR-OLD GIRL IN PHILADELPHIA, ANOTHER MAN IN CUSTODY: POLICE
The brothers were home alone at the time of the shooting, the station reported, citing police. It was not immediately clear if the shooting was accidental or deliberate.
Police said they recovered a weapon from the scene, but did not provide details.
The investigation is ongoing.
Last week, a 10-year-old boy was shot in the head in a drive-by shooting as he was walking home from school in northeast Philadelphia, police said.
The 10-year-old shot has been identified as Semaj O'Branty by family members, WPVI-TV reported. He was listed in critical but stable condition and his current condition was not immediately known, police said.
Police released a photo of the suspect’s vehicle. Police told Fox News on Monday that they've made no arrests in that case.
A few weeks ago, a gunman firing into a north Philadelphia home killed a 2-year-old girl. The day before an 11-month-old boy was critically injured in another part of the city when gunshots hit a car.
CLICK HERE TO GET THE FOX NEWS APP
Philadelphia police told Fox News on Monday that the 11-month-old boy’s current condition was not immediately known.
The Associated Press contributed to this report.


Adrienne Lundry
About
Portfolio
Contact
Portfolio
Programming on an iPad
Music Reveals the Soul
Creating Puzzles
Tech Stack


| chipKIT Sketch Help |
You can set breakpoints in the project files (.ino for sketch files, .ccp for C++ files, etc.). For our example, you’ll set a breakpoint in the .ino file.Open blink.ino and locate the line of code digitalWrite (PIN_LED1, HIGH). Set a breakpoint (click on the line number or right click on the text and select Toggle Line Breakpoint). See Figure: Set Breakpoint. Once the breakpoint is set, the line of code will be highlighted in red so you can quickly see where the breakpoint is located.Figure: Set BreakpointNotice the highlighting changes to green and you can now step in the .ino file (see Figure: Step in).Figure: Step in
|
Microchip Support
Help Updated: 2017-04-13 14:25:13Z
Help Page: 22
|


Sam is a Java state machine engine. I know, it sounds redundant putting that word engine after the word machine. What I mean is it's an engine for driving state machines.
To learn more about what a state machine is, and how it's used here's some reading for you:


Pre Reading
This is a continuation on the previous post on our simple redirector technique.
Problem
I had the joy of setting up a CDN configuration in Akamai. Though it wasn’t that bad, the rarity of that task made me never want to do it twice. I only really needed to CDN cache static assets, and chose to harden the rules for anyone that wanted to use my configuration.
The CDN Configuration Rules.
- I am going to set the CDN time to live for 1 year
- I will NOT be clearing your CDN cache just because you made a mistake
- Our CDN will be configured to chase redirects. 4 deep in this case.
Story Requirement
I would like to be able to edge cache in the following way.
https://{mycdn.akamai.com}/cdn/{key}/{my-everything-else}
would eventually find its way via redirects to
https://{my origin server endpoint}/{my-everything-else}
I would like to be able to edge cache in the following way, but with a throw-away version scheme.
https://{mycdn.akamai.com}/cdn-v/{version}/{key}/{my-everything-else}
would eventually find its way via redirects to
https://{my origin server endpoint}/{my-everything-else}
Implementation
This is built upon the previous simple redirector work.
ASP.NET Core URL Rewriter Rules
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="CDN Cache Buster V">
<match url="^cdn-v/([_0-9a-zA-Z-]+)/([_0-9a-zA-Z-]+)/(.*)$" />
<action type="Rewrite" url="SimpleRedirector/Home/Index?key={R:2}&remaining={R:3}" />
</rule>
<rule name="CDN">
<match url="^cdn/([_0-9a-zA-Z-]+)/(.*)$" />
<action type="Rewrite" url="SimpleRedirector/Home/Index?key={R:1}&remaining={R:2}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Hooking up URL Rewrite
public void Configure( IApplicationBuilder app,
IHostingEnvironment env,
ILoggerFactory loggerFactory)
{
...
var root = env.ContentRootFileProvider;
var rewriteOptions = new RewriteOptions()
.AddIISUrlRewrite(root, "IISUrlRewrite.config");
app.UseRewriter(rewriteOptions);
...
}
Finally
In summary, any CDN provider you choose needs to be able to chase redirects.
Also, this technique states that versioning is the problem of the origin servers and shall not be fixed or accounted for by the CDN providers.
This will make sure that your CDN configuration doesn’t get out of control, especially if you need to swap out providers.
Keep it simple!


Use this tool to jump to any bookmark in the current file. You can also use the Next Bookmark and Previous Bookmark commands to quickly jump to the next and previous bookmarks in the file.
As you move the cursor in the file the tool also changes to reflect the nearest bookmark above the current cursor position.


{% extends "base.html" %} {% block title %}Referee{% endblock %} {% block content %}
| League | Round | Field | Scheduled Time | Home | Away |
|---|---|---|---|---|---|
| {{ game.league.name }} | {{ game.round }} | {{ game.field }} | {{ game.time() }} | {{ game.home_team.name }} | {{ game.away_team.name }} |


The basic idea is that simple however there are a few things that makes it a bit more complicated. Below you'll find information about parts of the implementation of this tree widget, how the generated code looks like and how a few of the methods work. This is not something you need to read and understand in order to use this widget, however if you're interested in how this was made and how it works you might find this helpful.
As described earlier the tree widget uses an object hierarchy implementation to simplify the creation of trees, however since the browser cannot understand that object hierarchy we are required to convert it into something that the browser can render, in this case guess what we're using? Yeah you where right, our old buddy html. Below is the generated html code for a small tree with only three items. Further down this document you'll find the same code but split up and described.

  Root

   1

   2

   3

The code below is what is generated from the WebFXTree Object (it will however also contain the code from all tree items but to increase the readability that code has been removed).

  Root

The first div contains the top level icon and label while the secund div is the container that will house the tree items. When the first div is double clicked the display property of the secund one will be toggled.
The code below is what is generated from a singel WebFXTreeItem Object.

   1

As you can see the code generated by each WebFXTreeItem looks pretty much the same as the one for the WebFXTree object, the main difference is the extra image(s) that the tree items has (the plus/minus and track icons). Also note that the code shown above is from a tree item without children. If the tree item has children an extra div to contain those will be added (much like the secund div generated by the WebFXTree Object).
The most important methods for this widget are expand and collapse. Here I'll try to describe how those works. As the html
code above showed webFXTreeHandler.toggle(this);
is executed once a tree item is clicked. The tree handler
then uses an internal reference, webFXTreeHandler.all
to look up the object for the clicked tree item. Once
the object has been found it executes the toggle()
method on that
object.
Below is the code for the toggle method and as you can see all it does is to check whatever or not the item is currently expanded or collapsed, and then calls the appropriated method (expand if it's collapsed or collapse if it's expanded).
WebFXTreeItem.prototype.toggle = function () { if (this.open) { this.collapse(); } else { this.expand(); } }
Since the expand and collapse methods works pretty much the same I'll only describe one of them, the expand method.
WebFXTreeItem.prototype.expand = function () { if (!this._subItems.length > 0) { return; } document.getElementById(this.id + '-cont').style.display = 'block'; document.getElementById(this.id + '-icon').src = openFolderIcon; document.getElementById(this.id + '-plus').src = this.minusIcon; this.open = true; setCookie(this.id.substr(18,this.id.length - 18), '1'); }
The first line of code checks to see if there are any children, since it doesn't do any good to expand it unless
there are. The next line is the most important one and does the expanding by changing the display mode of the div
containing all children to block. The next two lines changes the icon and the plus/minus sign, then the open
property is changed to reflect the expanded/collpased state and finally it sets a cookie (used to keep track of what's
expanded or not so that the tree can be restored to it's previous state the next time you visit the site).
History & Introduction
Usage
API
Implementation
Demo
Download


Leaflet
A Modern, Lightweight Open-Source JavaScript Library for Interactive Maps by CloudMade
Leaflet features
Leaflet doesn't try to do everything for everyone. Instead it focuses on making the basic things work perfectly. It should still satisfy the needs of the vast majority of map apps developers while being flexible enough to be easily extended by writing third-party plugins.
Available map layers
- Tile layers
- Polylines, polygons, circles
- Markers
- Popups
- Image overlays
- WMS layers
- GeoJSON
- KML
- GeoRSS
Interaction features
On desktop browsers
- Drag panning
- Scroll wheel zoom
- Double click zoom
- Shift-drag zoom to bounding box
On mobile browsers (iOS, Android)
- Touch-drag panning
- Multi-touch zoom (iOS only)
- Double tap zoom
- Panning inertia
Visual features
- Panning animation
- Zooming animation on modern browsers (except IE)
- Smooth continuous zoom on iOS
- Tile and popup fade animation
- Very nice default design for markers and popups
Customization features
- Pure CSS3 popups and controls for easy restyling
- A simple interface for implementing custom map layers
- The same for custom map controls
- Custom map projections (with
EPSG:4326
, EPSG:3857
and EPSG:3395
out of the box)
Performance features
- Hardware acceleration on iOS makes it feel as smooth as native apps
- Clever tricks to make panning and zooming really smooth
- Smart polyline/polygon rendering makes it responsive even when displaying objects with thousands of points
- Modular build system allows you to reduce the size of the library by leaving out the code you don't need
Map controls
- Zoom buttons
- Attribution
- Zoom slider
- Layer switcher
Browser support
On desktop
- Firefox 3.6+
- Chrome
- Safari 5+
- Opera 11.11+
- IE 7–9
- IE 6 (not perfect but accessible)
On mobile
- Safari for iOS 3/4+
- WebKit for Android 2.2+
- webOS browser
- Blackberry 6+
- Windows Phone 7
- Firefox for Android
If you find some feature really missing in Leaflet, please submit it to the issue tracker.
* Grayed out features are in the roadmap and coming soon.
© 2011 CloudMade. Map data © 2011 OpenStreetMap contributors, CC-BY-SA.


Release Notes¶
0.2.2¶
Better handling of non-Roman characters, much faster fetch(), and you can now run Nimbusinator in silent mode by passing silent=True when instantiating a Nimbus object.
0.2.1¶
More graphics stuff including import and down-conversion of full-colour images, plus control key detection in gets().
Commands updated:
slice has been renamed to slice_ to avoid stomping on Python keyword
area now has a scale optional parameter
gets now detects control key presses
Commands added:
set_points_style(points_style, points_list)
ask_points_style()
points(coord_list, brush=None, size=None, style=None)
fetch(block_number, filename)
writeblock(block_number, coord)
Bug fixes:
y-axis still had a bug but now fixed
some input validation on optional parameters would break for default values
0.1.0¶
Removed dependency on OpenCV, fixed bugs, crisper rendering and added 8 new commands.
Commands added:
circle(radius, coord_list, brush=None)
slice(radius, from_angle, to_angle, coord_list, brush=None)
set_plot_font(plot_font)
ask_plot_font()
ask_paper()
ask_pen()
ask_brush()
ask_charset()
Bug fixes:
No longer draws everything one pixel higher
More precise and faster rendering
Cursor now matches pen colour
Fixed wonky font images
Fixed RM Nimbus logo image
Fixed intermittent floppy drive
Shutdown by CTRL-C interrupt doesn’t get delayed
0.0.2¶
Revised package structure to solve module import errors with Sphinx.
Nimbus and Command classes are now imported like this:
from nimbusinator.nimbus import Nimbus
from nimbusinator.command import Command
0.0.1¶
First public release!
Key features:
High-resolution (640x250) 4 colour mode
Low-resolution (320x250) 16 colour mode
Welcome Screen and DOS boot sequence
Full screen mode
Nimbus sleep method
Keyboard input with cursor
Nimbus colours
Both Nimbus charsets
Commands added:
area(coord_list, brush=None)
ask_charset()
ask_curpos()
cursor_position (tuple)
cls()
flush()
gets()
input(prompt)
line(coord_list, brush=None)
plonk_logo(coord)
plot(text, coord, size=1, brush=None, direction=0, font=None)
print(text)
put(ascii_data)
set_border(colour)
set_brush(colour)
set_charset(charset)
set_colour(colour1, colour2)
set_curpos(cursor_position)
set_cursor(flag)
set_mode(columns)
set_paper(colour)
set_pen(colour)


{% extends "email_base.html" %} {% block content %}
Verify your emailThank you for joining {{ site_name }}. To finish joining, you just need to confirm that we got your email right. To confirm your email, please click this link: |
|
|
|
|
Welcome and thanks!
|


trait HookableTrait
Extend "Hookable" to make hookable instances.
Methods
| boolean |
hasHook(string $name)
Check if has a hook. |
|
| mixed |
trigger(string $name, array $args = array(), callable $cb = null, Chain $chain = null)
Trigger a hook. |
|
| mixed |
hook(string $hookName, callable $cb)
Set a hook. |
|
| mixed |
preHook(string $hookName, Callable $cb)
Set a "pre" hook. |
|
| mixed |
postHook(string $hookName, callable $cb)
Set an "post" hook. |
|
| HookManagerInterface |
getHookManager()
Get the hooks manager. |
|
|
setHookManager(HookManagerInterface $HookManager)
Set the hooks manager. |
Details
at line 20
public boolean
hasHook(string $name)
Check if has a hook.
at line 34
public mixed
trigger(string $name, array $args = array(), callable $cb = null, Chain $chain = null)
Trigger a hook.
at line 46
public mixed
hook(string $hookName, callable $cb)
Set a hook.
at line 57
public mixed
preHook(string $hookName, Callable $cb)
Set a "pre" hook.
at line 69
public mixed
postHook(string $hookName, callable $cb)
Set an "post" hook.
at line 78
public HookManagerInterface
getHookManager()
Get the hooks manager.
at line 88
public
setHookManager(HookManagerInterface $HookManager)
Set the hooks manager.


Preparation time
less than 30 mins
Cooking time
10 to 30 mins
Serves
Serves 2
Dietary
Preheat oven to 200C/400F/Gas 6.
Roast the aubergine in a griddle pan on all sides until cooked through.
Cut in half, spoon out the flesh and reserve.
Prepare the couscous by placing the cinnamon stick, curry powder, garlic, ginger and diced tomato in an oven-proof dish with the couscous and vegetable stock. Cover and cook in the oven for 4 minutes.
Spoon the aubergine flesh back into the shells and top with the couscous mixture. Place slices of tomato on top, drizzle with olive oil and sprinkle on the pine nuts and poppy seeds.
Finally place under the grill for 5 minutes and serve with a dollop of yoghurt, mixed with mint dressing and smooth mango chutney.


4 Different Road Classes in London
Motorway
A-Road
B-Road
Unclassified Road
Road Class Information,
Roads.org.uk
,Accident Severity Definitions,
UK Goverment
Road Class


| file_chmod {fs} | R Documentation |
Change file permissions
file_chmod(path, mode)
path |
A character vector of one or more paths. |
mode |
A character representation of the mode, in either hexidecimal or symbolic format. |
Cross-compatibility warning: File permissions differ on Windows
from POSIX systems. Windows does not use an executable bit, so attempting
to change this will have no effect. Windows also does not have user
groups, so only the user permissions (u
) are relevant.
file_create("foo", mode = "000") file_chmod("foo", "777") file_info("foo")$permissions file_chmod("foo", "u-x") file_info("foo")$permissions file_chmod("foo", "a-wrx") file_info("foo")$permissions file_chmod("foo", "u+wr") file_info("foo")$permissions # It is also vectorized files <- c("foo", file_create("bar", mode = "000")) file_chmod(files, "a+rwx") file_info(files)$permissions file_chmod(files, c("644", "600")) file_info(files)$permissions


The Rolling Stones are the greatest band in the world because their music is catchy, creative, and timeless. Anybody can listen to their music and relate.


Cloud Computing Services
Cloud computing is the on-demand delivery of resources over the Internet with pay-as-you-go pricing. Instead of buying, owning, and maintaining physical hardware, data centers and servers, you can access technology services, such as computing power, storage, and databases, on an as-needed basis from a cloud providers like Microsoft (Azure), Google Cloud, AWS (Amazon).
Generally, cloud computing services are categorized into three types.
1) Infrastructure as a Service (IaaS): This service provides the infrastructure like Servers, Operating Systems, Virtual Machines, Networks, and Storage on rent basis.
E.g: Amazon Web Service, Microsoft Azure
2) Platform as a Service (PaaS): This service is used in developing, testing and maintaining of software. PaaS is same as IaaS but also provides additional tools like DBMS and BI service.
E.g: Apprenda, Red Hat OpenShift
3) Software as a Service (SaaS): This service makes the users connect to the applications through the Internet on a subscription basis.
E.g: Google Applications, Salesforce
My take on Cloud
Follow My take on Cloud
Creating an account AWS
Open a separate tab and go to portal.aws.amazon.com
Follow Creating Account for AWS


Content Demo | <uif-content>
In order for this demo to work you must first build the library in debug mode.
Renders all which is inside <uif-content />:
Code:


CNBC: T-Mobile CEO John Legere won't be the next WeWork CEO
Legere is still working to complete T-Mobile's merger with Sprint.
by Richard LawlerEarlier this week T-Mobile CEO John Legere's name popped up as a possibility to take over the top spot at WeWork after its failed IPO and ouster of co-founder Adam Neumann. However, subsequent rumors clarified that he was just one of the potential replacements, while today CNBC reports that Legere isn't taking the job and has "no plans" to leave T-Mobile.
The report also cites people with knowledge of the matter as saying he was not the top candidate for the job, which would have presented a tricky transition as Softbank is both the majority owner of WeWork, and Sprint, which his company is still in the process of merging with.


public abstract class Controller
extends javafx.animation.AnimationTimer
| Modifier | Constructor and Description |
|---|---|
protected |
Controller()
Calls the extended methods in order to initiate the Controller.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handle(long now)
Calls Controller tick then gets input and calls handleInput on it,
then calls the Model tick and finally renders to the current View.
|
protected void |
nextController(Controller newController)
Stops current game loop and passes the input handler down to the next Controller, then starts it.
|
void |
setGraphicsContext(javafx.scene.canvas.GraphicsContext gc,
double h,
double w)
Used for setting a new controller.
|
void |
setInputHandler(InputHandler ih)
Used for setting a new controller.
|
protected abstract Model |
setModel()
Should return Model to be associated with this controller.
|
protected abstract View |
setView()
Should return View to be associated with this controller.
|
protected abstract void |
tick(java.util.List<java.lang.String> input)
Should call methods in the Model to handle the input and hold the logic to determine if there is a controller
change, do nothing to continue with the same controller,
to switch controllers instantiate the next controller and pass it to nextController().
|
protected final Model model
protected Controller()
protected abstract View setView()
protected abstract Model setModel()
protected abstract void tick(java.util.List<java.lang.String> input)
input
- holds all of the keys pressed for this frame like "LEFT".public void handle(long now)
handle
in class javafx.animation.AnimationTimer
now
- current time for position extrapolation.protected void nextController(Controller newController)
newController
- the controller to switch topublic void setInputHandler(InputHandler ih)
ih
- current InputHandlerpublic void setGraphicsContext(javafx.scene.canvas.GraphicsContext gc, double h, double w)
gc
- current GraphicsContexth
- height of GraphicsContextw
- width of GraphicsContext


This SPA uses raw dirty JavaScript to demo the relationship between Javascript and Http
Learn more »


Broward College
A.S. in Computer Systems: 3.3 GPA
Florida Atlantic University
B.A.S in Computer Science : 3.4 GPA
Awarded a Certificate of Appreciation for excellent community service at Broward College.
Raised over 200 dollars for the American Red Cross to assist those affected by Typhoon Haiyan.
2013-2014 Academic Achievement Award for maintaining an outstanding GPA while managing and leading club activities at Broward College.
Helped repair and clean up shoes for children in need at "In Jacob's Shoes".


Note that nothing will be displayed if the phone number is not the right length (ie missing some digits).
Mobile numbers should be 11 digits long, landlines 11 digits or sometimes 10 if they start with 01. More details here.


Coupling of equivalent spins.
[K,N] = equivcouple(I,n)
The states due to n
spins with quantum number I
can be coupled to give a set of independent subspins. Their quantum numbers
are returned in F
, their respective abundance
in N
.
Five equivalent spins-1/2 can be coupled using
[F,N] = equivcouple(1/2,5)
F = 2.5000 1.5000 0.5000 N = 1 4 5
This means that the coupling of the five spins-1/2 gives 1 spin-5/2, 4 spins-3/2 and 5 spins-1.
The algorithm is very simple and is best illustrated by an example: 5 spins-1/2 give rise to a first-order splitting pattern [1 5 10 10 5 1] (see the function equivsplit). This splitting pattern can be decomposed into several subpatterns due to one spin-5/2, four spin-3/2 and five spin-1/2 according to
5 5 5 spins-1/2 4 4 4 4 4 spins-3/2 1 1 1 1 1 1 1 spin-5/2 ------------------ 1 5 10 10 5 1 sumso
F = [2.5 1.5 0.5]
and N = [1 4 5]
.


Visiting the bike store to have your squeaky bike checked can be frustrating and expensive.
A bike usually squeaks because the moving part are not lubricated enough. However, you may be surprised to hear that parts which are screwed together firmly can also squeak.


This uses JavaScript to post an Ajax upload to the back-end which gives us a nice progress bar to see the status of the upload (note: it doesn't break down the status per-picture, instead it's the status of the entire upload altogether).
A normal <form>
tag is used for the upload. If the user has
JavaScript disabled in their browser, a normal HTTP upload is posted to the
back-end. The same endpoint is used in both cases: when the Ajax request does it,
the server returns a unique ID to the front-end and JavaScript does the redirect.
If the user has scripts disabled, the back-end will initiate the redirect for
them instead.
You can upload files by using the multi-select file upload box (supported in most browsers and Internet Explorer 10+), or by dragging and dropping files into the dashed box below (again, in most browsers).
This demo app doesn't do anything with the other form data except for print it out in the terminal window, but it demonstrates that you can get to the other form data in addition to the uploaded files.
Only upload image type files in the form below.


24 April 2016
JavaScript Language
JavaScript Cases
Parentheses ()
Used to invoke/execute functions.
Used to set limits of if, for and while statements.
Used to define function parameters.
Used to order expressions such as in maths calculations.
brackets []
Used to define arrays.
Used to access object properties.
braces {}
Used to define objects.
Single Quotes ''
Text is placed inside single quotes to create strings.
Double quotes ""
Same as single quotes - the text inside double quotes are also strings. It is best to stick to one or the other. However some linters and programs seem to have different preferences.


Hover over Fire-markers for information on the planned event, and compare between Satellite and Terrain basemap layers.
Back to newcanopies


xmake is a lightweight cross-platform build tool based on Lua. It uses xmake.lua to maintain project builds. Compared with makefile/CMakeLists.txt, the configuration syntax is more Concise and intuitive, it is very friendly to novices, and you can get started quickly in a short time, allowing users to focus more on actual project development.
In this version, we mainly added support for the construction of Pascal language projects and Swig modules, and for the Vala language support added in the previous version, we have also made further improvements, adding support for the construction of dynamic and static libraries.
In addition, xmake now also supports the optional Lua5.3 runtime, which provides better cross-platform support. At present, xmake has been able to run normally on the LoongArch architecture.
New feature introduction
Pascal language support
Currently, we can use the cross-platform Free Pascal toolchain fpc to compile and build Pascal programs, for example:
Console Program
add_rules("mode.debug", "mode.release")
target("test")
set_kind("binary")
add_files("src/*.pas")
Dynamic library program
add_rules("mode.debug", "mode.release")
target("foo")
set_kind("shared")
add_files("src/foo.pas")
target("test")
set_kind("binary")
add_deps("foo")
add_files("src/main.pas")
We can also add compilation options related to Pascal code through the add_fcflags()
interface.
For more examples, see: Pascal examples
Vala library compilation support
In the last version, we added support for the Vala language, but before, we could only support the compilation of console programs, and could not generate library files. In this version, we have added additional compilation support for static libraries and dynamic libraries.
Static library program
We can set the exported interface header file name by add_values("vala.header", "mymath.h")
, and set the exported vapi by add_values("vala.vapi", "mymath-1.0.vapi")
file name.
add_rules("mode.release", "mode.debug")
add_requires("glib")
target("mymath")
set_kind("static")
add_rules("vala")
add_files("src/mymath.vala")
add_values("vala.header", "mymath.h")
add_values("vala.vapi", "mymath-1.0.vapi")
add_packages("glib")
target("test")
set_kind("binary")
add_deps("mymath")
add_rules("vala")
add_files("src/main.vala")
add_packages("glib")
Dynamic library program
add_rules("mode.release", "mode.debug")
add_requires("glib")
target("mymath")
set_kind("shared")
add_rules("vala")
add_files("src/mymath.vala")
add_values("vala.header", "mymath.h")
add_values("vala.vapi", "mymath-1.0.vapi")
add_packages("glib")
target("test")
set_kind("binary")
add_deps("mymath")
add_rules("vala")
add_files("src/main.vala")
add_packages("glib")
For more examples, see: Vala examples
Swig module support
We provide swig.c
and swig.cpp
rules, which can call the swig program to generate the c/c++ module interface code for the specified script language, and then cooperate with the xmake package management system to achieve fully automated module and dependency package integration .
Related issues: #1622
Lua/C Module
add_rules("mode.release", "mode.debug")
add_requires("lua")
target("example")
add_rules("swig.c", {moduletype = "lua"})
add_files("src/example.i", {swigflags = "-no-old-metatable-bindings"})
add_files("src/example.c")
add_packages("lua")
Among them, swigflags can be set to pass some swig-specific flags options.
Python/C module
add_rules("mode.release", "mode.debug")
add_requires("python 3.x")
target("example")
add_rules("swig.c", {moduletype = "python"})
add_files("src/example.i", {scriptdir = "share"})
add_files("src/example.c")
add_packages("python")
If scriptdir is set, then when we perform the installation, the python wrap script of the corresponding module will be installed to the specified directory.
Python/C++ Module
add_rules("mode.release", "mode.debug")
add_requires("python 3.x")
target("example")
add_rules("swig.cpp", {moduletype = "python"})
add_files("src/example.i", {scriptdir = "share"})
add_files("src/example.cpp")
add_packages("python")
Lua5.3 runtime support
Xmake has always used Luajit as the default runtime, because it was considered that Luajit is relatively faster, and the fixed Lua 5.1 syntax is more suitable for the needs of xmake’s internal implementation.
However, considering that Luajit’s update is not strong, the author’s maintenance is not very active, and its cross-platform performance is relatively poor. For some new architectures, such as Loongarch, riscv, etc., the support is not timely, which somewhat limits the platform support of xmake. .
For this reason, in the new version, we also built Lua5.3 as an optional runtime. We only need to compile and install xmake with the following command to switch from Luajit to Lua5.3 runtime:
Linux/macOS
$ make RUNTIME=lua
Windows
$ cd core
$ xmake f --runtime=lua
$ xmake
At present, the current version is still the default luajit runtime. Users can switch to Lua5.3 runtime according to their needs, but this has almost no compatibility impact on the user’s project xmake.lua configuration script.
Because the configuration interface of xmake has already done a layer of abstract encapsulation, some native interfaces with compatibility differences in Luajit/Lua5.3 will not be open to users, so it is completely unaware for project construction.
The only difference is that xmake with Lua5.3 supports more platforms and architectures.
Performance comparison
I have done some basic build tests. Whether it is startup time, build performance or memory usage, Lua5.3 and Luajit’s xmake are almost the same. Because for the build system, the main performance bottleneck is the compiler, and the loss of its own scripts is very small.
Moreover, some low-level Lua modules inside xmake, such as io, character encoding, string manipulation, etc., have all been rewritten in c code by themselves, and do not rely on a specific Lua runtime engine at all.
Will you consider switching to Lua by default?
Since we have just supported Lua5.3, although it is relatively stable after testing, in order to ensure that the user environment is not affected in any way, we still need to observe for a period of time. In the short term, we still use Luajit by default.
When the 2.6.1 version starts, we will start to switch to Lua5.3 as the default runtime environment. If you are interested, you can also help test it online. If you encounter any problems, please feel free to report on issues.
LoongArch architecture support
Since we added Lua5.3 runtime support, we can now support running xmake on the LoongArch architecture, and all test examples have been tested.
Lua 5.4
At present, we are still on the sidelines of Lua 5.4. If we wait for Lua 5.4 to become stable later, we will also try to consider continuing to upgrade to Lua 5.4.
Third-party source code mixed compilation support
Integrated CMake source library
In the new version, we have been able to directly integrate the source library with CMakeLists.txt in our project through the package mode of xmake, instead of downloading and installing it remotely.
Related issues: #1714
For example, we have the following project structure:
├── foo
│ ├── CMakeLists.txt
│ └── src
│ ├── foo.c
│ └── foo.h
├── src
│ └── main.c
├── test.lua
└── xmake.lua
The foo directory is a static library maintained by cmake, and the root directory is maintained by xmake. We can define the package("foo")
package in xmake.lua to describe how to build the foo code library.
add_rules("mode.debug", "mode.release")
package("foo")
add_deps("cmake")
set_sourcedir(path.join(os.scriptdir(), "foo"))
on_install(function (package)
local configs = {}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
import("package.tools.cmake").install(package, configs)
end)
on_test(function (package)
assert(package:has_cfuncs("add", {includes = "foo.h"}))
end)
package_end()
add_requires("foo")
target("demo")
set_kind("binary")
add_files("src/main.c")
add_packages("foo")
Among them, we set the code directory location of the foo package through set_sourcedir()
, and then import the auxiliary module of package.tools.cmake
through import to call cmake to build the code, xmake will automatically obtain the generated libfoo.a and the corresponding header document.
!> If only the local source code is integrated, we don’t need to set additional add_urls
and add_versions
.
For the configuration description of the package, see: Package description description.
After defining the package, we can integrate it with add_requires("foo")
and add_packages("foo")
, just like integrating remote packages.
In addition, on_test
is optional. If you want to strictly check whether the package is compiled and installed successfully, you can do some tests in it.
For a complete example, see: Library with CMakeLists
Integrate autoconf source library
We can also use package.tools.autoconf
to locally integrate third-party code libraries maintained by autoconf.
package("pcre2")
set_sourcedir(path.join(os.scriptdir(), "3rd/pcre2"))
add_configs("jit", {description = "Enable jit.", default = true, type = "boolean"})
add_configs("bitwidth", {description = "Set the code unit width.", default = "8", values = {"8", "16", "32"}})
on_load(function (package)
local bitwidth = package:config("bitwidth") or "8"
package:add("links", "pcre2-" .. bitwidth)
package:add("defines", "PCRE2_CODE_UNIT_WIDTH=" .. bitwidth)
if not package:config("shared") then
package:add("defines", "PCRE2_STATIC")
end
end)
on_install("macosx", "linux", "mingw", function (package)
local configs = {}
table.insert(configs, "--enable-shared=" .. (package:config("shared") and "yes" or "no"))
table.insert(configs, "--enable-static=" .. (package:config("shared") and "no" or "yes"))
if package:debug() then
table.insert(configs, "--enable-debug")
end
if package:config("pic") ~= false then
table.insert(configs, "--with-pic")
end
if package:config("jit") then
table.insert(configs, "--enable-jit")
end
local bitwidth = package:config("bitwidth") or "8"
if bitwidth ~= "8" then
table.insert(configs, "--disable-pcre2-8")
table.insert(configs, "--enable-pcre2-" .. bitwidth)
end
import("package.tools.autoconf").install(package, configs)
end)
on_test(function (package)
assert(package:has_cfuncs("pcre2_compile", {includes = "pcre2.h"}))
end)
Both package.tools.autoconf
and package.tools.cmake
modules can support cross-compilation platforms and toolchains such as mingw/cross/iphoneos/android, xmake will automatically pass the corresponding toolchain into it, and the user does not need to do Anything else.
Integrate with other build systems
We also support the integration of code libraries maintained by other build systems such as Meson/Scons/Make. You only need to import the corresponding build auxiliary modules. I won’t go into details here. We can further check the documentation: Integrate local third-party source code libraries
Improve compiler feature detection
In the previous version, we can use the check_features
auxiliary interface to detect specific compiler features, such as:
includes("check_features.lua")
target("test")
set_kind("binary")
add_files("*.c")
add_configfiles("config.h.in")
configvar_check_features("HAS_CONSTEXPR", "cxx_constexpr")
configvar_check_features("HAS_CONSEXPR_AND_STATIC_ASSERT", {"cxx_constexpr", "c_static_assert"}, {languages = "c++11"})
config.h.in
${define HAS_CONSTEXPR}
${define HAS_CONSEXPR_AND_STATIC_ASSERT}
config.h
/* #undef HAS_CONSTEXPR */
#define HAS_CONSEXPR_AND_STATIC_ASSERT 1
If the current cxx_constexpr feature supports it, the HAS_CONSTEXPR macro will be enabled in config.h.
Added C/C++ standard support detection
After 2.5.8, we continue to add support for cstd and c++ std version detection, related issues: #1715
E.g:
configvar_check_features("HAS_CXX_STD_98", "cxx_std_98")
configvar_check_features("HAS_CXX_STD_11", "cxx_std_11", {languages = "c++11"})
configvar_check_features("HAS_CXX_STD_14", "cxx_std_14", {languages = "c++14"})
configvar_check_features("HAS_CXX_STD_17", "cxx_std_17", {languages = "c++17"})
configvar_check_features("HAS_CXX_STD_20", "cxx_std_20", {languages = "c++20"})
configvar_check_features("HAS_C_STD_89", "c_std_89")
configvar_check_features("HAS_C_STD_99", "c_std_99")
configvar_check_features("HAS_C_STD_11", "c_std_11", {languages = "c11"})
configvar_check_features("HAS_C_STD_17", "c_std_17", {languages = "c17"})
New compiler built-in macro detection
We can also detect the existence of some built-in macro definitions in the compiler, such as __GNUC__
, etc. We can use the check_macros
and configvar_check_macros
auxiliary scripts to detect their existence.
Related issues: #1715
- Check whether the macro is defined
configvar_check_macros("HAS_GCC", "__GNUC__")
- The detection macro is not defined
configvar_check_macros("NO_GCC", "__GNUC__", {defined = false})
- Detect macro conditions
configvar_check_macros("HAS_CXX20", "__cplusplus >= 202002L", {languages = "c++20"})
Added support for Qt 4.x
In addition to Qt 5.x and 6.x, we have also added support for some old projects based on Qt 4.x.
Added support for Android NDK r23
Due to some structural changes made by google to the Android NDK, r23 has affected the support of xmake for some compilation features of the android project. In this version, we have also made a repair.
Fix the Unicode encoding problem of the vsxmake plugin
In addition, if Unicode is used as the project directory, the generated vsxmake project will be affected, causing many problems in the compilation and access of the vs project. We have also fixed it in the new version.
Changelog
New features
- #388: Pascal Language Support
- #1682: Add optional lua5.3 backend instead of luajit to provide better compatibility
- #1622: Support Swig
- #1714: Support build local embed cmake projects
- #1715: Support to detect compiler language standards as features and add
check_macros
- Support Loongarch
Change
- #1618: Improve vala to support to generate libraries and bindings
- Improve Qt rules to support Qt 4.x
- Improve
set_symbols("debug")
to generate pdb file for clang on windows - #1638: Improve to merge static library
- Improve on_load/after_load to support to add target deps dynamically
- #1675: Rename dynamic and import library suffix for mingw
- #1694: Support to define a variable without quotes for configuration files
- Support Android NDK r23
- Add
c++latest
andclatest
forset_languages
- #1720: Add
save_scope
andrestore_scope
to fixcheck_xxx
apis - #1726: Improve compile_commands generator to support nvcc


--allow-running-insecure-content
support/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --allow-running-insecure-content &
If you see a green page below, --allow-running-insecure-content
works:
See related blogpost: How to allow (rather than block) mixed content in web browsers


Guidance
This page contains information on PSBP2 including guidance for applicants.
PDF , 796KB , 30 pages
If you use assistive technology (such as a screen reader) and need a version of this document in a more accessible format, please email<EMAIL_ADDRESS>. Please tell us what format you need. It will help us if you say what assistive technology you use.
PDF , 192KB , 6 pages
If you use assistive technology (such as a screen reader) and need a version of this document in a more accessible format, please email<EMAIL_ADDRESS>. Please tell us what format you need. It will help us if you say what assistive technology you use.
PDF , 393KB , 20 pages
If you use assistive technology (such as a screen reader) and need a version of this document in a more accessible format, please email<EMAIL_ADDRESS>. Please tell us what format you need. It will help us if you say what assistive technology you use.
Education Funding Agency ( EFA ) received a high number of applications for PSBP2 and anticipates being able to communicate the outcome of its assessment exercise shortly.
We’re aware that this timescale means academies and sixth-form colleges will not know the outcome of their PSBP2 application before the deadline for applications to the Condition Improvement Fund ( CIF ) on 19 December. We encourage those establishments who meet the criteria for CIF to make an application, even if they have already expressed an interest in PSBP2 . The CIF guidance gives specific advice about how PSBP2 applicants can put forward block replacement projects.
The deadline for submitting expressions of interest for PSBP2 was 3pm on Monday 21 July. Saved, draft or late forms will not be considered.
PSBP2 was launched on 1 May 2014 to undertake major rebuilding and refurbishment projects to address the needs of those schools in the very worst condition. Local authorities, dioceses, sixth-form colleges, academies, and multi-academy trusts (depending on the nature of the school) could submit expressions of interest for an entire school site or for one or multiple individual buildings.
You can view your submitted expression of interest form online by logging into the PSBP2 application system with your username and password.
If you wish to contact EFA about PSBP2 please email PSBP2<EMAIL_ADDRESS>.
Responsible bodies should take any action necessary to address any immediate or future health and safety risks arising from such concerns or issues in a timely manner depending on the particular circumstances. Action should not be delayed pending the outcome of the expression of interest process.
Published: 1 May 2014
Updated: 19 December 2014


Time Card
January 13, 2021
00:00:00
IN
Out
My Profile
User Name
Update Profile
×
Update Profile
Employee Name
First Name:
Last Name:
Phone Number:
Email:
Current Password:
New Password:
Submit
Employee
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Sarah
Night
Night
Swing
Night
Off
Off
Morning


Gunmen kill Miyetti Allah chairman in Plateau - Premium Times Nigeria
by Usman AuduGunmen have killed the chairman of the Miyetti Allah Cattle Breeders Association of Nigeria (MACBAN), Sa’adu Musa, in Mangu Local Government Area of Plateau State.
The victim who doubled as the Ardo of Gindiri was reportedly killed on Tuesday at about 8 p.m. in Mangu town
Nura Abdullahi, state chairman of MACBAN, while disclosing this on Thursday in an interaction with journalists in Jos, said the incident occurred near Mangu police station.
According Mr Abdullahi, the incident occurred soon after the deceased had finished taking tea at a joint, adjacent to Magu police headquarters.
“I have traveled to Mangu and the DPO of Mangu police station has told me he has signalled the state headquarters on the matter. I have equally informed the state police commissioner, SSS, and commander, Operation Safe Haven.
“The body of the victim has been released to us and has since been buried according to Islamic rite,” Mr Abdullahi added.
Isaac Akinmoyede, the state police commissioner, confirmed the incident.
He said an investigation into the matter was ongoing and arrests would be made.


BOOZER BASHED
Celtic pub Queens Park Cafe ‘attacked by balaclava thugs with bottles’ after Hoops’ win over Rangers in Betfred Cup
by Blair MeikleA CELTIC pub has been attacked following their Betfred Cup Final win over Rangers this afternoon.
Photos online show the windows of Queens Park Cafe, on Victoria Road, smashed in.
The incident is said to have happened just before 6pm.
According to Radio Clyde, eyewitnesses claim they saw "around 40 Rangers fans wearing balaclavas" throwing bottles at the boozer after getting off a bus.
Cops confirmed they had been called to the boozer.
A Police Scotland spokesperson said: "Police called to a pub, the Queens Park Café, on Victoria Road, Glasgow around 5.40 pm on Sunday, 8 December 2019 following a report of a disturbance.
"No trace on police arrival. Enquiries are continuing."
A man who answered the phone at the pub this evening said they would not be commenting.
Celtic won the final 1-0, thanks to a Christopher Jullien strike, despite Rangers dominating.
We told how Gers star Ryan Jack was seen crying into boss Steven Gerrard's arms after the narrow defeat.
At full-time it was despair for Rangers stars as they broke down as the Hoops celebrated their tenth successive domestic trophy.
Gers' everpresent this season Jack was caught sobbing into Gerrard's arms at full-time.
Gerrard embraced the tough-tackling midfielder to comfort him as he was overcome with emotion after the game finished.
And Ibrox legend Ally McCoist reckons Alfredo Morelos didn't believe he would score as he stepped up to take a penalty.
The striker’s second-half penalty was saved by Hoops keeper Fraser Forster, who delivered a man-of-the-match performance as his side lifted the Betfred Cup.


job
career
business
know-how
How to get a job?
Learn from the best CEOs how to show yourself in the best possible way
Read more


s2n-doxygen-full
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
tests Directory Reference
Directory dependency graph for tests:
Directories
directory
fuzz
directory
integration
directory
testlib
directory
unit
Files
file
s2n_test.h
[code]
s2n-master
tests
Generated by
1.8.11


Simple
CSS Sprite
Multiple skin
Object Oriented Approch
Mouse Events
Calendar
Shopping Cart
CD
Email
FAQ
Games
Music
Phone
Graph
Secured
Video


Software Toolkit for Transcranial Magnetic Stimulation Modeling Using Boundary Element Fast Multipole Method - Connectome Subject 110411
Download software
Your name
Your email
Affiliation
I have read and agree to the
Terms and Conditions
Download


Module filters
Some filter methods.
Functions
- one_of (family)
-
It returns a random selectec element of a family or collection
Usage:
local n1 = one_of(Nodes) function utl_filters.one_of(family) local candidates = family:keys() local chosen = math.random(#candidates) return AgentSet.agents[ candidates[chosen] ] end
- n_of (n)
-
Select n random elements in a Family, a Collection or a Table.
Usage:
local five_red_nodes = n_of( 5, Nodes:with( function(node) return node.color == {1,0,0,1} end) )
- up_to_n_of (n)
-
Select n (or less if not enough agents) random elements in a AgentSet.
Usage:
local five_red_nodes = n_of( 5, Nodes:with( function(node) return node.color == {1,0,0,1} end) )
- first_n (n)
-
This function returns the first n elements of a List, or the entire list if not enough elements.
Usage:
first_n(3, {1,2,3,4,5,6,7,8,9}) -- => {1,2,3}
- last_n (n, list)
-
This function returns the last n elements of a list
Usage:
last_n(3, {1,2,3,4,5,6,7,8,9}) -- => {7,8,9}
- others (family, agent)
-
Given a family and an agent, it returns all the other agents in the AgentSet.
See also:
Usage:
others(A_family, agent)
- with (family, pred)
-
Filter function.
See also:
Usage:
local lower_agents = with(Agents, function(ag) return ag:ycor() < 2 end )
- one_of_others (family, agent)
-
Given an agent, it returns,randomly, one of the other agents in the family, or nil if there is no other agent.
See also:
Usage:
one_of_others(A_family, agent)
- max_one_of (family, funct)
-
Returns the agent with the minimum value for a gived function
See also:
Usage:
local olderer_agent = max_one_of(A_family, function(agent) return agent.age end ) -- Assuming that all agents in "A_family" have a parameter "age"
- max_n_of (family, num, funct)
-
Returns the n elements producing the maximum values for a gived function
See also:
Usage:
local older_5_agents = max_n_of(A_family, 5, function(ag) return ag.age end)
- min_n_of (family, num, funct)
-
Returns the n elements producing the minimum values for a gived function
See also:
Usage:
local younger_5_agents = min_n_of(A_family, 5, function(ag) return ag.age end)
- min_one_of (family, funct)
-
Returns the agent with the minimum value for a gived function
See also:
Usage:
local younger_agent = min_one_of(A_family, function(agent) return agent.age end ) -- Assuming that all agents in "A_family" have a parameter "age"
- with_max (family, funct)
-
Returns a Collection of agents with the min value for a gived function.
See also:
Usage:
local agents_in_the_right = with_max(A_family, function(agent) return agent:xcor() end )
- with_min (family, funct)
-
Returns a Collection of agents with the min value for a gived function.
See also:
Usage:
local agents_in_the_left = with_min(A_family, function(agent) return agent:xcor() end )
- agents_in (cell)
-
Returns a Collection of agents who have a relation with the cell (usually the agents in the region of the cell).
Usage:
ask( agents_in(a_cell), function(ag) ag.label = a_cell.label end)
- find_families (fam_type)
-
Returns a List of families of a concrete type.
Usage:
cell_fams = find_families(FamilyCell)