This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module org.xtext.example.GenerateAnsic | |
import org.eclipse.xtext.xtext.generator.* | |
import org.eclipse.xtext.xtext.generator.model.project.* | |
var rootPath = ".." | |
Workflow { | |
component = XtextGenerator { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Artigo ATAL 2016.1 | |
import java.util.*; | |
import java.lang.*; | |
import java.io.*; | |
class ShortestPath | |
{ | |
static final int V=9; | |
int minDistance(int dist[], Boolean sptSet[]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Artigo ATAL 2016.1 | |
#include <stdio.h> | |
#include <limits.h> | |
// Número de vertices no grafo | |
#define V 9 | |
int minDistance(int dist[], bool sptSet[]) | |
{ | |
int min = INT_MAX, min_index; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Artigo ATAL 2016.1 | |
import java.util.*; | |
import java.lang.*; | |
import java.io.*; | |
class Graph | |
{ | |
class Edge implements Comparable<Edge> | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Artigo ATAL 2016.1 | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
struct Edge | |
{ | |
int src, dest, weight; | |
}; | |
NewerOlder