Opis uzycia klasy wipb

Transkrypt

Opis uzycia klasy wipb
P OLITECHNIKA B IAŁOSTOCKA
W YDZIAŁ I NFORMATYKI
K ATEDRA S YSTEMÓW C ZASU R ZECZYWISTEGO
P RACA DYPLOMOWA MAGISTERSKA
T EMAT: O PIS U ŻYCIA KLASY WIPB
W YKONAWCA : G AL A NONIM
....................................
podpis
P ROMOTOR : J ULIUSZ C EZAR
B IAŁYSTOK 2014 r.
Karta dyplomowa
Politechnika Białostocka
Numer albumu
Wydział Informatyki
studenta:123456
Studia stacjonarne
magisterskie jednolite
Rok akademicki 2008/2009
Kierunek studiów:
Katedra Systemów Czasu
informatyka
Rzeczywistego
Specjalność: Inżynieria
Oprogramowania
Gal Anonim
TEMAT PRACY DYPLOMOWEJ: Opis użycia klasy wipb
Zakres pracy:
1. zakres I
2. zakres II
3. zakres III
...........................................
...........................................
Imi˛e i nazwisko promotora
Imi˛e i nazwisko kierownika
podpis
katedry - podpis
...........................................
...........................................
...........................................
Data wydania tematu pracy dyplomowej
Regulaminowy termin złożenia
Data złożenia pracy dyplomowej
- podpis promotora
pracy dyplomowej
- potwierdzenie dziekanatu
...........................................
...........................................
Ocena promotora
Podpis promotora
.......................................
.......................................
.......................................
Imi˛e i nazwisko recenzenta
Ocena recenzenta
Podpis recenzenta
Spis treści
1. Wst˛ep
1.1 Wypunktowania
1. punkt
2. punkt
3. wypunkowania można mieszać
• punkt
• punkt
4. punkt
(a) punkt
(b) punkt
1.2 Cytowania
Tak cytujemy [1] lub kilka [1, 2] albo [1, str. 3].
1.3 Tabele
Tabela 1.1: Przykładowa tabela
combined cells
bottom left
bottom center
top right
middle right
bottom right
Przykład Tabeli 1.1 został zaczerpni˛ety ze strony [3]. Tak właśnie odwołujemy si˛e
do tabel.
1
5
0.96
0.92
0.86
0.76
0.58
0.35
4
0.984
3
2
0.996
Imaginary Axis
1
17.5
20
0
15
12.5
10
7.5
5
2.5
-1
-2
0.996
-3
0.984
-4
0.96
-5
-20
-18
-16
0.92
-14
0.86
-12
-10
-8
0.76
-6
0.58
-4
0.35
-2
0
Real Axis
Rysunek 1.1: Opis rysunku
1.3.1 Rysunki
Rysunki najlepiej dodawać w formacie eps. Rysunek 1.1 w taki sposób odwołujemy
si˛e do rysunków.
Równania Równania matematyczne tworzymy przez:
Ri,j = H(εi − kxi − xj )
(1.1)
W Równaniu 1.1 przedstawiono . . . lub małe wstawki matematyczne Ri,j = H(εi −kxi −xj )
w tej samej lini lub w nowej
Ri,j = H(εi − kxi − xj )
.
2
1.4 Listingi
Korzystajac
˛ ze środowiska listings możemy formatować listingi.
Listing 1.1: Zwyci˛ezca 14th International Obfuscated C Code Contest w kategorii Best SelfDocumenting - Tom Torfs
# i n c l u d e < s t d i o . h>
# i n c l u d e < s t d l i b . h>
i n t main ( i n t a , c h a r
∗∗A) { FILE ∗B ; t y p e d e f
unsigned long C;C b
[ 8 ] ; i f ( ! ( a==7&&(B=
f o p e n ( 1 [A ] , " r b " ) ) ) )
r e t u r n 1 ; f o r ( 7 [ b ]=0
; 7 [ b ] <5;7[ b ]++) b [ 7 [
b ] ] = s t r t o u l (A[ 2 + 7 [ b
]] ,0 ,16 −!7[ b ] ∗ 6 ) ; 5 [
b ]=3[ b ]
; while
( ( 6 [ b ]=
g e t c (B)
) ! = ( C)−
1){ i f (2
[b ]) for
( 7 [ b ]=0
; 7 [ b ] <4
; 7 [ b ]++
) if (((6
[ b ] > >7[
b])^(6[
b ] > >(7 −7[ b ] ) ) ) & 1 ) 6 [
b ] ^=(1
< <7[ b ] )
^(1 < <(7 −7[ b ] ) ) ; 5 [ b ]
^= 6 [ b ]
< <(0[ b ]
−8); f o r ( 7 [ b ] = 0 ; 7 [ b ]
<8;7[ b ]
++) i f ( (
5 [ b ] > > ( 0 [ b]−
1))&1)5
[b ]=(5[
b ] < <1)^ 1 [ b ] ;
e l s e 5[
b ] < <=1;
} 5 [ b ] & = ( ( ( ( C) 1
< <(0[ b ]
−1)) −1)
< <1)|1; i f (2[ b ]
) for (7[
b ]=0;7[
b ] <(0[ b
[ b ] ++)
i f ( ( ( 5 [ b ] > >7[ b ] ) ^ ( 5
[ b ] > >(0
1 < <7[ b ] ) ^ ( ( C) 1 < < ( 0 [
b]−1−7[
p r i n t f ("%0∗ lX \ n " , (
int )(0[
] > >1);7
[ b]−1−7
b]));5[
b ]+3) > >
[ b ] ) ) ) & 1 ) 5 [ b ] ^ = ( ( C)
b ] ^ = 4 [ b ] ; f c l o s e (B ) ;
2 ,5[ b ] ) ; return 0;}
Na Listingu 1.1 przedstawiono listing bez ramki a na Listingu 1.2 z ramka.˛
tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex
tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex
tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex
tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex
tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex
tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex
tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex
tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex
3
s t r u c t passwd ∗pw ;
c h a r ∗ epasswd ;
char ∗ t t y ;
i f ( ( pw = getpwnam ( u s e r ) ) == NULL) {
r e t u r n (UPAP_AUTHNAK ) ;
}
/∗
∗ XXX I f no passwd , l e t them l o g i n w i t h o u t one .
∗/
i f ( pw−>pw_passwd == ’ \ 0 ’ ) {
r e t u r n (UPAP_AUTHACK ) ;
}
Listing 1.2: Listing z ramka˛
%3
cd %1
l a t e x . e x e −−s r c −s p e c i a l s %2
m a k e i n d e x %2. g l o −s %2. i s t −o %2. g l s
m a k e i n d e x . e x e %2
b i b t e x . e x e %2
l a t e x . e x e −−s r c −s p e c i a l s %2
l a t e x . e x e −−s r c −s p e c i a l s %2
d v i p s . e x e %2. d v i −o %2. p s
p s 2 p d f . e x e %2. p s %2. p d f
Listing 1.3: Kompilacja finalna dokumentu do pdf’u dla programu LED
tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex
tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex
tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex
tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex
4
tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex
tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex tex
tex tex tex tex tex tex
1.5 Algorytmy
Algorytm 1 przedstawia . . .
Algorytm 1: disjoint decomposition
input : A bitmap Im of size w × l
output: A partition of the bitmap
special treatment of the first line;
for i ← 2 to l do
special treatment of the first element of line i;
for j ← 2 to w do
left ← FindCompress(Im[i, j − 1]);
up ← FindCompress(Im[i − 1, ]);
this ← FindCompress(Im[i, j]);
if left compatible with this then
if left < this then Union(left,this);
;
else Union(this,left);
end
if up compatible with this then
if up < this then Union(up,this);
;
else Union(this,up);
end
end
foreach element e of the line i do FindCompress(p);
end
5
1.6 Schematy
Schematy wykonujemy przy użyciu środowiska tikz 1 :
algorithms
data
structures
Computer
theoretical
practical
Science
programming
software
languages
engineering
applied
technical
databases
WWW
Rysunek 1.2: Computer science mindmap
1.7 Podsumowanie
Do składania prac dyplomowych w środowisku Windows polecam edytor LED wraz
˛ systemu LATEX można
z kompilatorem MikTEX. Wszystkie potrzebne informacje dotyczace
znaleźć w [5, 6, 7, 8, 9]. Zbiór klas [10].
1
Przykład zaczerpni˛ety ze strony [4]
6