Algorithm-TimelinePacking
view release on metacpan or search on metacpan
printf " %02d:%02d - %s (%s)\n",
int($talk->[0] / 60), $talk->[0] % 60,
$talk->[2], $talk->[3];
}
}
# Output shows minimum rooms needed, with no scheduling conflicts
## Hadoop Job Timeline
The original use case - visualize MapReduce job execution:
my @jobs = (
[$start_epoch, $end_epoch, $job_id, $user, $map_tasks, $reduce_tasks],
...
);
my ($lines, $latest) = $packer->arrange_slices(\@jobs);
# Feed $lines to D3.js or other visualization library
# ATTRIBUTES
lib/Algorithm/TimelinePacking.pm view on Meta::CPAN
printf " %02d:%02d - %s (%s)\n",
int($talk->[0] / 60), $talk->[0] % 60,
$talk->[2], $talk->[3];
}
}
# Output shows minimum rooms needed, with no scheduling conflicts
=head2 Hadoop Job Timeline
The original use case - visualize MapReduce job execution:
my @jobs = (
[$start_epoch, $end_epoch, $job_id, $user, $map_tasks, $reduce_tasks],
...
);
my ($lines, $latest) = $packer->arrange_slices(\@jobs);
# Feed $lines to D3.js or other visualization library
=head1 ATTRIBUTES
( run in 0.518 second using v1.01-cache-2.11-cpan-140bd7fdf52 )