163 lines
2.4 KiB
Markdown
163 lines
2.4 KiB
Markdown
# Optimizations of the Social Force Model
|
|
|
|
## Table of Contents
|
|
1. [Performance Results](#performance-results)
|
|
2. [Baseline](#2-baseline)
|
|
3. [Optimization 1](#3-optimization-1)
|
|
4. [Optimization 2](#4-optimization-2)
|
|
5. [Optimization 3](#5-optimization-3)
|
|
6. [Optimization 4](#6-optimization-4)
|
|
7. [Optimization 5](#7-optimization-5)
|
|
8. [Optimization 6](#8-optimization-6)
|
|
9. [Optimization 7](#9-optimization-7)
|
|
10. [Optimization 8](#10-optimization-8)
|
|
11. [Optimization 9](#11-optimization-9)
|
|
|
|
---
|
|
|
|
## Performance Results
|
|
|
|
| # | Optimization | Cycle Count | Author |
|
|
|---|---|---|---|
|
|
| 0 | Baseline | - | - |
|
|
| 1 | | | |
|
|
| 2 | | | |
|
|
| 3 | | | |
|
|
| 4 | | | |
|
|
| 5 | | | |
|
|
| 6 | | | |
|
|
| 7 | | | |
|
|
| 8 | | | |
|
|
| 9 | | | |
|
|
|
|
---
|
|
|
|
## 2. Baseline
|
|
|
|
**Author**: [Name]
|
|
|
|
**Description**:
|
|
Standard implementation without optimizations.
|
|
|
|
```cpp
|
|
// Paste your code here only the relevant part
|
|
```
|
|
|
|
---
|
|
|
|
## 3. Optimization 1
|
|
|
|
**Author**: [Name]
|
|
|
|
**Description**:
|
|
[Briefly describe the optimization technique]
|
|
|
|
```cpp
|
|
// Paste your code here only the relevant part
|
|
```
|
|
|
|
---
|
|
|
|
## 4. Optimization 2
|
|
|
|
**Author**: [Name]
|
|
|
|
**Description**:
|
|
[Briefly describe the optimization technique]
|
|
|
|
```cpp
|
|
// Paste your code here only the relevant part
|
|
```
|
|
|
|
---
|
|
|
|
## 5. Optimization 3
|
|
|
|
**Author**: [Name]
|
|
|
|
**Description**:
|
|
[Briefly describe the optimization technique]
|
|
|
|
```cpp
|
|
// Paste your code here only the relevant part
|
|
```
|
|
|
|
---
|
|
|
|
## 6. Optimization 4
|
|
|
|
**Author**: [Name]
|
|
|
|
**Description**:
|
|
[Briefly describe the optimization technique]
|
|
|
|
```cpp
|
|
// Paste your code here only the relevant part
|
|
```
|
|
|
|
---
|
|
|
|
## 7. Optimization 5
|
|
|
|
**Author**: [Name]
|
|
|
|
**Description**:
|
|
[Briefly describe the optimization technique]
|
|
|
|
```cpp
|
|
// Paste your code here only the relevant part
|
|
```
|
|
|
|
---
|
|
|
|
## 8. Optimization 6
|
|
|
|
**Author**: [Name]
|
|
|
|
**Description**:
|
|
[Briefly describe the optimization technique]
|
|
|
|
```cpp
|
|
// Paste your code here only the relevant part
|
|
```
|
|
|
|
---
|
|
|
|
## 9. Optimization 7
|
|
|
|
**Author**: [Name]
|
|
|
|
**Description**:
|
|
[Briefly describe the optimization technique]
|
|
|
|
```cpp
|
|
// Paste your code here only the relevant part
|
|
```
|
|
|
|
---
|
|
|
|
## 10. Optimization 8
|
|
|
|
**Author**: [Name]
|
|
|
|
**Description**:
|
|
[Briefly describe the optimization technique]
|
|
|
|
```cpp
|
|
// Paste your code here only the relevant part
|
|
```
|
|
|
|
---
|
|
|
|
## 11. Optimization 9
|
|
|
|
**Author**: [Name]
|
|
|
|
**Description**:
|
|
[Briefly describe the optimization technique]
|
|
|
|
```cpp
|
|
// Paste your code here only the relevant part
|
|
```
|
|
|
|
--- |