Skip to content
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.

最適な部屋移動を行っていない #7

Closed
sya-ri opened this issue Feb 21, 2021 · 0 comments
Closed

最適な部屋移動を行っていない #7

sya-ri opened this issue Feb 21, 2021 · 0 comments
Labels
wontfix This will not be worked on

Comments

@sya-ri
Copy link
Owner

sya-ri commented Feb 21, 2021

オーナーそれぞれに専用の部屋を用意しており、オーナーが離れた時など、オーナーひとりを別のチャンネルに飛ばせばよいところをオーナー以外の全員を別のチャンネルに飛ばすので、部屋移動の回数が単純に増えてしまう。

処理がよく分からないので実装していない

@sya-ri sya-ri added the wontfix This will not be worked on label Feb 21, 2021
sya-ri added a commit that referenced this issue Feb 24, 2021
- 準最適移動(チャンネルスワップ)を実装 #7
- 移動時ではなく、スケジューラで部屋移動をさせるようにした
- 全てのユーザーの接続チャンネルを connectChannel に格納するようにした
- 再帰関数を末尾再帰に変更
- 移動をキャンセルするのではなく、部屋を固定するようにした
sya-ri added a commit that referenced this issue Feb 24, 2021
- 準最適移動(チャンネルスワップ)を実装 #7
- 移動時ではなく、スケジューラで部屋移動をさせるようにした
- 全てのユーザーの接続チャンネルを connectChannel に格納するようにした
- 再帰関数を末尾再帰に変更
- 移動をキャンセルするのではなく、部屋を固定するようにした
@sya-ri sya-ri closed this as completed Feb 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant