()
| 493 | } |
| 494 | |
| 495 | render() { |
| 496 | return ( |
| 497 | <BaseLayout title="Classic MAPF"> |
| 498 | <MKBox component="section"> |
| 499 | <Modal |
| 500 | open={this.state.isInfoDialogOpen} |
| 501 | onClose={() => { |
| 502 | this.setState({ isInfoDialogOpen: false }); |
| 503 | }} |
| 504 | sx={{ display: "grid", placeItems: "center" }} |
| 505 | > |
| 506 | <Slide direction="down" in={this.state.isInfoDialogOpen} timeout={500}> |
| 507 | <MKBox |
| 508 | position="relative" |
| 509 | width="50vw" |
| 510 | display="flex" |
| 511 | flexDirection="column" |
| 512 | borderRadius="xl" |
| 513 | variant="gradient" |
| 514 | shadow="sm" |
| 515 | > |
| 516 | <MKBox display="flex" alginItems="center" justifyContent="center" p={2}> |
| 517 | <MKTypography variant="h4">A few things to know</MKTypography> |
| 518 | </MKBox> |
| 519 | <Divider sx={{ my: 0 }} /> |
| 520 | |
| 521 | <MKBox px={6} py={3} textAlign="left"> |
| 522 | <MKTypography variant="body2" mb={1}> |
| 523 | 1. For better display of the map, the number of rows are restricted to be no |
| 524 | more that the number of columns. So if you want to add a map with more rows than |
| 525 | columns, simply swap these two numbers. |
| 526 | </MKTypography> |
| 527 | <MKTypography variant="body2" mb={1}> |
| 528 | 2. The MAPF variant you choose is <b>classic MAPF</b>, and the algorithm you |
| 529 | choose is <b>EECBS</b>. The available improvement techniques include:{" "} |
| 530 | <b> |
| 531 | High-level admissible heuristics, High-level solvers, Suboptimal solver, |
| 532 | Inadmissible heuristics, Prioritizing conflict, Rectangle reasoning, Corridor |
| 533 | reasoning, Bypassing conflict, Disjoint splitting, Target reasoning. |
| 534 | </b> |
| 535 | . |
| 536 | </MKTypography> |
| 537 | </MKBox> |
| 538 | <Divider light sx={{ my: 0 }} /> |
| 539 | <MKBox display="flex" justifyContent="right" py={1} px={1.5}> |
| 540 | <MKButton onClick={() => this.setState({ isInfoDialogOpen: false })}> |
| 541 | ok, got it |
| 542 | </MKButton> |
| 543 | </MKBox> |
| 544 | </MKBox> |
| 545 | </Slide> |
| 546 | </Modal> |
| 547 | </MKBox> |
| 548 | <MKBox component="section"> |
| 549 | <Modal |
| 550 | open={this.state.isDialogOpen} |
| 551 | onClose={() => { |
| 552 | this.setState({ isDialogOpen: false }); |
nothing calls this directly
no test coverage detected