Skip to content

Commit

Permalink
fix broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
psubram3 committed Oct 25, 2024
1 parent b207188 commit d042484
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ There should now be one jar for each scheduling procedure, at `scheduling/build/

## Creating a Goal

See the examples in the mission model template repo, or see [the scheduling page](../scheduling) in this section.
See the examples in the mission model template repo, or see [the scheduling page](../scheduling/introduction/) in this section.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ For now, only Java records are supported for parameterization.

:::

For example, we can take the example from the [scheduling](../scheduling) page, and parameterize it so that it doesn't
For example, we can take the example from the [scheduling](../scheduling/introduction/) page, and parameterize it so that it doesn't
unconditionally recur every hour, and instead takes the period as input:

<Tabs groupId="lang">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ In this section, we will explore how to implement recurrence goals and in the ne
This section should illustrate how much more flexible the procedural system is over its declarative predecessor.

A recurrence goal specifies that a certain activity should occur repeatedly throughout the plan at some given interval.
An example of this can be seen in the description of [Activity Recurrence Goal](../../declarative/scheduling/goals/#activity-recurrence-goal).
An example of this can be seen in the description of [Activity Recurrence Goal](../../../declarative/scheduling/goals/#activity-recurrence-goal).

We will replicate the second, more intricate goal. This places an activity of type `GrowBanana` every two hours, unless in one of
the intervals an activity is found of the same type and duration:
Expand Down Expand Up @@ -76,7 +76,7 @@ public record ActivityRecurrenceGoal() implements Goal {

Cardinality goals are different - they specify that a certain activity should occur in the plan either a certain number
of times, or for a certain total duration.
An example of this can be seen in the description of [Cardinality Goal](../../declarative/scheduling/goals/#cardinality-goal).
An example of this can be seen in the description of [Cardinality Goal](../../../declarative/scheduling/goals/#cardinality-goal).

We will rewrite the fourth, and most intricate goal. This places an activity of type `GrowBanana` at least 10 times in
the plan, and for a duration of 10 total seconds. It checks to make sure it doesn't place an activity at the same time as
Expand Down Expand Up @@ -190,7 +190,7 @@ Finally, we can talk about coexistence goals. These involve scheduling activitie
such as the presence of certain activities, the presence of certain resources, or external events. We discuss how to schedule off of resource
condition satisfaction here, and discuss activities and external events (which are functionally similar to activities) next.

The goal we seek to replicate is one provided in the description of [Coexistence Goal](../../declarative/scheduling/goals/#coexistence-goal).
The goal we seek to replicate is one provided in the description of [Coexistence Goal](../../../declarative/scheduling/goals/#coexistence-goal).
Specifically, it was the following:

```ts
Expand Down Expand Up @@ -276,7 +276,7 @@ public record ExternalProfileGoal() implements Goal {

## Scheduling From Activities

Scheduling from activities is relatively straightforward. Replicating a basic example from [Coexistence Goal](../../declarative/scheduling/goals/#coexistence-goal)
Scheduling from activities is relatively straightforward. Replicating a basic example from [Coexistence Goal](../../../declarative/scheduling/goals/#coexistence-goal)
where for each instance of `GrowBanana` we place a `PeelBanana` starting in the interval [end of "A", end of "A" + 5 minutes] and ending in the interval [end of "A", end of "A" + 6 minutes]:

<Tabs groupId="lang">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ goals fix them. You do that by implement the `Goal` interface and interacting wi

## `EditablePlan`

The `EditablePlan` gives you the same interface as [`Plan`](../plan-and-sim-results), but also allows you to add new
The `EditablePlan` gives you the same interface as [`Plan`](../../plan-and-sim-results), but also allows you to add new
activities. You do this with `plan.create(...)`. You can either provide the minimal amount of information (type,
arguments, and start time), or provide a `NewDirective` object that is a little more configurable.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import TabItem from '@theme/TabItem';
External Events timelines are analogous to activity `Instances` timelines. They represent intervals with various properties that
are allowed to overlap in time and often do, even if of the same type. It is possible to access the events associated with
a plan (specifically, the events that are members of derivation groups that are associated with a plan - see
[Associating Derivation Groups](../../../../tutorials/external-events/associating-derivation-groups)).
[Associating Derivation Groups](../../../../../tutorials/external-events/associating-derivation-groups)).

A timeline of External Events is represented by the `ExternalEvents` class, which contains objects of the `ExternalEvent`
type. `ExternalEvent` objects have associated with them 4 attributes which can be accessed by a user:
Expand Down

0 comments on commit d042484

Please sign in to comment.