One test in 'Djiktra - complete' is not working but it's most likely a wrong test/a bug.
public void preProcess() throws InvalidInputException
{
if(getGraph() == null || getSourceNode() == null)
throw new InvalidInputException();| <?xml version="1.0" encoding="utf-8"?> | |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
| package="org.kasabeh.barcode_ml_foto"> | |
| <uses-permission android:name="android.permission.CAMERA"/> | |
| <application | |
| android:allowBackup="true" | |
| android:icon="@mipmap/ic_launcher" | |
| android:label="@string/app_name" |
| from torch.utils.data import DataLoader | |
| class InfiniteDataLoader(DataLoader): | |
| def __init__(self, *args, **kwargs): | |
| super().__init__(*args, **kwargs) | |
| # Initialize an iterator over the dataset. | |
| self.dataset_iterator = super().__iter__() | |
| def __iter__(self): |
| /** | |
| * Custom implementation of AdapterDataObserver to show empty layouts | |
| * for RecyclerView when there's no data | |
| * | |
| * Usage: | |
| * | |
| * adapter.registerAdapterDataObserver(new RVEmptyObserver(recyclerView, emptyView)); | |
| */ | |
| public class RVEmptyObserver extends RecyclerView.AdapterDataObserver { | |
| private View emptyView; |
| #! /usr/bin/Rscript | |
| suppressPackageStartupMessages({ | |
| library(ggplot2) | |
| library(scales) | |
| library(grid) | |
| }) | |
| # Data from https://en.wikipedia.org/wiki/Unicode#Versions |
| // | |
| // Regular Expression for URL validation | |
| // | |
| // Author: Diego Perini | |
| // Created: 2010/12/05 | |
| // Updated: 2018/09/12 | |
| // License: MIT | |
| // | |
| // Copyright (c) 2010-2018 Diego Perini (http://www.iport.it) | |
| // |