staff
1,118
edits
(→Percentage ranges for file-ep relations: adding image examples) |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{TOCright}} | {{TOCright}} | ||
==Overview== | |||
File relations, like the name implies, are relations between files on AniDB. There are two types of file relations; [[#File-File Relations|File-File]] and [[#File-Ep Relations|File-Ep]]. | File relations, like the name implies, are relations between files on AniDB. There are two types of file relations; [[#File-File Relations|File-File]] and [[#File-Ep Relations|File-Ep]]. | ||
The former tells how two different files relate and the later tells how a file relates to different episodes. | The former tells how two different files relate and the later tells how a file relates to different episodes. | ||
Line 17: | Line 18: | ||
=== Percentage ranges for file-ep relations === | === Percentage ranges for file-ep relations === | ||
File-episode relations follow the rules of [https://en.wikipedia.org/wiki/Number_line number lines] for all [https://en.wikipedia.org/wiki/Integer integer numbers] in the inclusive range <code>[0,100]</code>. In simpler terms, ranges should | File-episode relations follow the rules of [https://en.wikipedia.org/wiki/Number_line number lines] for all [https://en.wikipedia.org/wiki/Integer integer numbers] in the inclusive range <code>[0,100]</code>. In simpler terms, ranges should be directly connected. Examples: | ||
2 file release, each covering 1/2 of the episode: | 2 file release, each covering 1/2 of the episode: | ||
[0,50] --> 0% to 50% for part 1 | [0,50] --> 0% to 50% for part 1 | ||
Line 32: | Line 33: | ||
[50,75] --> 50% to 75% for part 3 | [50,75] --> 50% to 75% for part 3 | ||
[75,100] --> 75% to 100% for part 4 | [75,100] --> 75% to 100% for part 4 | ||
[[File:Number line 4 inclusive.png| | ==== Explanation of number lines when used for AniDB episode ranges ==== | ||
[[File:Number line 4 exclusive.png| | [[File:Number line 4 inclusive.png|border]]<br> | ||
'''Correct:''' Ranges cover the entire number line when they are directly connected, as is the case with <code>[0,25]</code>, <code>[25,50]</code>, <code>[50,75]</code>, and <code>[75,100]</code>; there are no gaps in the number line.<br><br> | |||
[[File:Number line 4 exclusive.png|border]]<br> | |||
'''Incorrect:''' If the ranges are not directly connected, as in the case with <code>[0,25]</code>, <code>[26,50]</code>, <code>[51,75]</code>, and <code>[76,100]</code>, the values in the range <code>(25,26)</code> (e.g. 25.00000000001 to 25.99999999999), <code>(50,51)</code>, and <code>(75,76)</code> would be incorrectly excluded. | |||
==File-File Relations== | ==File-File Relations== |